We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef3ceb5 commit 47ff38eCopy full SHA for 47ff38e
cpp/ql/src/semmle/code/cpp/stmts/Stmt.qll
@@ -45,6 +45,10 @@ class Stmt extends StmtParent, @stmt {
45
46
/**
47
* Gets the statement following this statement in the same block, if any.
48
+ *
49
+ * Note that this is not widely useful, because this doesn't have a result for
50
+ * the last statement of a block. Consider using the `ControlFlowNode` class
51
+ * to trace the flow of control instead.
52
*/
53
Stmt getFollowingStmt() {
54
exists(Block b, int i | this = b.getStmt(i) and
0 commit comments