Skip to content

Commit 52b68a7

Browse files
committed
CPP: Remove commented out code.
1 parent 56adcff commit 52b68a7

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-457/semmle/tests/LoopConditionsConst.ql

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,3 @@ select
1111
concat(l.getStmt().toString(), ", "),
1212
concat(BasicBlock bb | bb.getASuccessor() = l.getFollowingStmt() | bb.toString(), ", "),
1313
concat(l.getFollowingStmt().toString(), ", ")
14-
15-
/*
16-
dump a graph of BasicBlocks
17-
18-
import semmle.code.cpp.controlflow.LocalScopeVariableReachability
19-
20-
from BasicBlock pred
21-
select
22-
pred,
23-
concat(BasicBlock succ |
24-
pred.getASuccessor() = succ |
25-
pred.toString() + " -> " + succ.toString(), ", "),
26-
concat(BasicBlock succ, boolean predSkip, boolean succSkip |
27-
bbSuccessorEntryReachesLoopInvariant(pred, succ, predSkip, succSkip) |
28-
pred.toString() + " (" + predSkip.toString() + ") -> " + succ.toString() + " (" + succSkip.toString() + ")", ", "
29-
)
30-
*/

0 commit comments

Comments
 (0)