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 1723c6e commit c7a3b65Copy full SHA for c7a3b65
ql/ql/src/codeql_ql/style/DeadCodeQuery.qll
@@ -62,7 +62,7 @@ AstNode hackyShouldBeTreatedAsAlive() {
62
*/
63
private AstNode alive() {
64
//
65
- // The 5 base cases.
+ // The 6 base cases.
66
67
// 1) everything that can be imported.
68
result = publicApi()
@@ -80,7 +80,8 @@ private AstNode alive() {
80
// 5) discard predicates
81
result = discardPredicate()
82
or
83
- result instanceof TopLevel // toplevel is always alive.
+ // 6) toplevel is always alive.
84
+ result instanceof TopLevel
85
86
// recursive cases
87
result = aliveStep(alive())
0 commit comments