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.
shouldPrintDeclaration
1 parent e76dc4a commit 7c429fbCopy full SHA for 7c429fb
cpp/ql/lib/semmle/code/cpp/Print.qll
@@ -8,8 +8,6 @@ private import PrintAST
8
private predicate shouldPrintDeclaration(Declaration decl) {
9
not (decl instanceof Function or decl instanceof GlobalOrNamespaceVariable)
10
or
11
- not exists(PrintAstConfiguration c)
12
- or
13
exists(PrintAstConfiguration config | config.shouldPrintDeclaration(decl))
14
}
15
0 commit comments