Revert "CPP: Workaround improvement for File.compiledAsMicrosoft."

This reverts commit c3ec7b55b7.
This commit is contained in:
Geoffrey White
2019-04-05 17:37:44 +01:00
parent 918f7043af
commit 5dce09b179

View File

@@ -309,10 +309,6 @@ class File extends Container, @file {
) or exists(File parent |
parent.compiledAsMicrosoft() and
parent.getAnIncludedFile() = this
) or (
getAbsolutePath().charAt(1) = ":"
// this is not ideal, it detects compilation on a Windows file system
// as a heuristic approximation to compilation with a Microsoft compiler.
)
}