We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02624b commit 3cd6908Copy full SHA for 3cd6908
cpp/autosar/src/rules/M6-5-2/NotEqualsInLoopCondition.ql
@@ -19,7 +19,7 @@ import codingstandards.cpp.Loops
19
from ForStmt fs, LoopControlVariable v
20
where
21
not isExcluded(fs, LoopsPackage::notEqualsInLoopConditionQuery()) and
22
- isInvalidForLoopIncrementation(fs, v)
+ isInvalidForLoopIncrementation(fs, v, _)
23
select fs,
24
"For-loop counter $@ is updated by an increment larger than 1 and tested in the condition using == or !=.",
25
v, v.getName()
0 commit comments