Skip to content

Commit 495387f

Browse files
geoffw0Mariusz Kliber
authored andcommitted
C++: Remove ErrorExpr case.
1 parent 1800e36 commit 495387f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cpp/ql/src/Best Practices/Unused Entities/UnusedStaticFunctions.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import cpp
1616
pragma[noinline]
1717
predicate possiblyIncompleteFile(File f) {
1818
exists(Diagnostic d | d.getFile() = f and d.getSeverity() >= 3)
19-
or
20-
exists(ErrorExpr ee | ee.getFile() = f)
2119
}
2220

2321
predicate immediatelyReachableFunction(Function f) {

0 commit comments

Comments
 (0)