We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb22192 + 5dce09b commit 0bd4fdeCopy full SHA for 0bd4fde
cpp/ql/src/semmle/code/cpp/File.qll
@@ -309,12 +309,6 @@ class File extends Container, @file {
309
) or exists(File parent |
310
parent.compiledAsMicrosoft() and
311
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
317
- getAbsolutePath().charAt(1) = "/"
318
)
319
}
320
0 commit comments