CodeQL library for C/C++

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