Skip to content

Commit 0bd4fde

Browse files
authored
Merge pull request #1216 from geoffw0/revert-microsoft
Approved by dave-bartolomeo, jbj
2 parents cb22192 + 5dce09b commit 0bd4fde

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +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.
316-
) or (
317-
getAbsolutePath().charAt(1) = "/"
318312
)
319313
}
320314

0 commit comments

Comments
 (0)