Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f8083a

Browse files
committed
Change phrasing of message fromTNoRelationalOperatorInLoopCondition
1 parent2116400 commit1f8083a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cpp/misra/src/rules/RULE-9-5-1/LegacyForStatementsShouldBeSimple.ql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ class AlertType extends TAlertType {
369369
or
370370
this=TNoRelationalOperatorInLoopCondition(_, _)and
371371
result=
372-
"The $@ does notcompare the counter variable to an expression using a relational operator."
372+
"The $@ does notdetermine termination based only on a comparison against the value of the counter variable."
373373
or
374374
this=TLoopCounterMutatedInLoopBody(_, _)and
375375
result="The $@ may be mutated in a location other than its update expression."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp