mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
all comments are alive
This commit is contained in:
@@ -203,7 +203,7 @@ private AstNode classUnion() {
|
||||
|
||||
private AstNode benign() {
|
||||
not result.getLocation().getFile().getExtension() = ["ql", "qll"] or // ignore dbscheme files
|
||||
result instanceof BlockComment or
|
||||
result instanceof Comment or
|
||||
not exists(result.toString()) or // <- invalid code
|
||||
// cached-stages pattern
|
||||
result.(Module).getAMember().(ClasslessPredicate).getName() = "forceStage" or
|
||||
|
||||
Reference in New Issue
Block a user