Skip to content

Commit bd0cb8e

Browse files
committed
Remove outdated isExcluded query predicate.
1 parent f88964c commit bd0cb8e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cpp/common/src/codingstandards/cpp/Exclusions.qll

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ private class ExcludeOutsideSourceLocation extends ExcludedFile {
1414
ExcludeOutsideSourceLocation() { not exists(getRelativePath()) }
1515
}
1616

17-
/** Holds if the element should be excluded. */
18-
predicate isExcluded(Element e) {
19-
e instanceof ExcludedElement
20-
or
21-
e.getFile() instanceof ExcludedFile
22-
or
23-
// Compiler generated
24-
not exists(e.getFile())
25-
}
26-
2717
bindingset[e, query]
2818
predicate isExcluded(Element e, Query query) { isExcluded(e, query, _) }
2919

0 commit comments

Comments
 (0)