Skip to content

Commit 2c61460

Browse files
authored
Update cpp/ql/lib/semmle/code/cpp/stmts/Stmt.qll
1 parent 0aa1434 commit 2c61460

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/lib/semmle/code/cpp/stmts

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/stmts/Stmt.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ class ConstevalOrNotConstevalIfStmt extends Stmt, @stmt_consteval_or_not_constev
456456
* ```
457457
* the result is the `BlockStmt` `{ return true; }`.
458458
*/
459-
Stmt getThen() { this.getChild(1) }
459+
Stmt getThen() { result = this.getChild(1) }
460460

461461
/**
462462
* Gets the 'else' statement of this '(not) constexpr if' statement, if any.

0 commit comments

Comments
 (0)