mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
CPP: Add '/' case.
This commit is contained in:
@@ -313,6 +313,8 @@ class File extends Container, @file {
|
||||
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.
|
||||
) or (
|
||||
getAbsolutePath().charAt(1) = "/"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user