mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Revert "CPP: Workaround improvement for File.compiledAsMicrosoft."
This reverts commit c3ec7b55b7.
This commit is contained in:
@@ -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.
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user