We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8caca3 commit a6e0296Copy full SHA for a6e0296
cpp/ql/src/semmle/code/cpp/File.qll
@@ -304,7 +304,7 @@ class File extends Container, @file {
304
c.getAFileCompiled() = this and
305
(
306
c.getAnArgument() = "--microsoft" or
307
- c.getAnArgument().matches("%\\\\cl.exe")
+ c.getAnArgument().toLowerCase().replaceAll("\\", "/").matches("%/cl.exe")
308
)
309
) or exists(File parent |
310
parent.compiledAsMicrosoft() and
0 commit comments