Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 975a0bb commit 4a25c37Copy full SHA for 4a25c37
1 file changed
cpp/ql/src/semmle/code/cpp/File.qll
@@ -302,7 +302,10 @@ class File extends Container, @file {
302
predicate compiledAsMicrosoft() {
303
exists(Compilation c |
304
c.getAFileCompiled() = this and
305
- c.getAnArgument() = "--microsoft"
+ (
306
+ c.getAnArgument() = "--microsoft" or
307
+ c.getAnArgument().matches("%\\\\cl.exe")
308
+ )
309
)
310
}
311
0 commit comments