We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8872b commit b6cf64cCopy full SHA for b6cf64c
cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedStmt.qll
@@ -674,7 +674,7 @@ class TranslatedBlock extends TranslatedStmt {
674
}
675
676
override TranslatedElement getLastChild() {
677
- not this.isEmpty() and result = this.getStmt(this.getStmtCount() - 1)
+ result = this.getStmt(this.getStmtCount() - 1)
678
679
680
private predicate isEmpty() { not exists(stmt.getStmt(0)) }
0 commit comments