CodeQL library for C/C++
codeql/cpp-all 2.0.2-dev (changelog, source)
Search

Member predicate MacroInvocation::getStmt

Gets the top-level statement associated with this macro invocation, if any. Note that this predicate will fail if the top-level expanded element is not a statement (for example if it is an expression).

Stmt getStmt()