CodeQL library for C/C++
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()