File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cpp/autosar/test/rules/A2-10-5
c/misra/test/rules/RULE-14-3 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ void f5(bool b1) {
4242void f6 (int p1 ) {
4343 while (p1 < 10 && p1 > 12 ) { // NON_COMPLIANT[FALSE_NEGATIVE]
4444 }
45- while (1 == 0 && p1 > 12 ) { // NON_COMPLIANT
45+ while (1 == 0 && p1 > 12 ) { // NON_COMPLIANT[FALSE_NEGATIVE]
4646 }
4747}
Original file line number Diff line number Diff line change 11| test1a.cpp:2:12:2:13 | g1 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:2:12:2:13 | g1 | g1 | test1b.cpp:2:12:2:13 | g1 | g1 |
22| test1a.cpp:6:12:6:13 | g3 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:6:12:6:13 | g3 | g3 | test1b.cpp:6:12:6:13 | g3 | g3 |
3- | test1a.cpp:17:50 :17:50 | number_two | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:17:50 :17:50 | number_two | number_two | test1b.cpp:11:50 :11:50 | number_two | number_two |
3+ | test1a.cpp:17:39 :17:48 | number_two | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:17:39 :17:48 | number_two | number_two | test1b.cpp:11:39 :11:48 | number_two | number_two |
44| test1b.cpp:2:12:2:13 | g1 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:2:12:2:13 | g1 | g1 | test1a.cpp:2:12:2:13 | g1 | g1 |
55| test1b.cpp:6:12:6:13 | g3 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:6:12:6:13 | g3 | g3 | test1a.cpp:6:12:6:13 | g3 | g3 |
6- | test1b.cpp:11:50 :11:50 | number_two | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:11:50 :11:50 | number_two | number_two | test1a.cpp:17:50 :17:50 | number_two | number_two |
6+ | test1b.cpp:11:39 :11:48 | number_two | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:11:39 :11:48 | number_two | number_two | test1a.cpp:17:39 :17:48 | number_two | number_two |
You can’t perform that action at this time.
0 commit comments