Skip to content

Commit 918f704

Browse files
committed
Revert "CPP: Add '/' case."
This reverts commit 5e71207.
1 parent f7dda1b commit 918f704

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ class File extends Container, @file {
313313
getAbsolutePath().charAt(1) = ":"
314314
// this is not ideal, it detects compilation on a Windows file system
315315
// as a heuristic approximation to compilation with a Microsoft compiler.
316-
) or (
317-
getAbsolutePath().charAt(1) = "/"
318316
)
319317
}
320318

0 commit comments

Comments
 (0)