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

Member predicate Stmt::getFollowingStmt

Gets the statement following this statement in the same block, if any.

Note that this is not widely useful, because this doesn’t have a result for the last statement of a block. Consider using the ControlFlowNode class to trace the flow of control instead.

Stmt getFollowingStmt()