CodeQL library for C/C++
Search

Module Block

Provides a class to model C/C++ block statements, enclosed by { and }.

Import path

import semmle.code.cpp.stmts.Block

Imports

Element

Provides the Element class, which is the base class for all classes representing C or C++ program elements.

Stmt

Provides a hierarchy of classes for modeling C/C++ statements.

Classes

BlockStmt

A C/C++ block statement.

Aliases

Block

DEPRECATED: This is now called BlockStmt to avoid confusion with BasicBlock.