Skip to content

Commit 5dce09b

Browse files
committed
Revert "CPP: Workaround improvement for File.compiledAsMicrosoft."
This reverts commit c3ec7b5.
1 parent 918f704 commit 5dce09b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cpp/ql/src/semmle/code/cpp/File.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,6 @@ class File extends Container, @file {
309309
) or exists(File parent |
310310
parent.compiledAsMicrosoft() and
311311
parent.getAnIncludedFile() = this
312-
) or (
313-
getAbsolutePath().charAt(1) = ":"
314-
// this is not ideal, it detects compilation on a Windows file system
315-
// as a heuristic approximation to compilation with a Microsoft compiler.
316312
)
317313
}
318314

0 commit comments

Comments
 (0)