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

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()