Skip to content

Commit 35c517b

Browse files
query format again
1 parent 20f790a commit 35c517b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpp/autosar/src/rules/A1-1-2/CompilerWarningLevelNotInCompliance.ql

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ predicate hasResponseFileArgument(Compilation c) { c.getAnArgument().matches("@%
2222

2323
class CompilationWithNoWarnings extends Compilation {
2424
CompilationWithNoWarnings() {
25-
getAnArgument() = "-w" or
26-
not exists(EnableWarningFlag enableFlag |
25+
getAnArgument() = "-w"
26+
or
27+
not exists(EnableWarningFlag enableFlag |
2728
this.getAnArgument() = enableFlag and
2829
not exists(DisableWarningFlag disableFlag |
2930
this.getAnArgument() = disableFlag and

0 commit comments

Comments
 (0)