Skip to content

Commit 27ca680

Browse files
committed
Typo fix COMPLAINT->COMPLIANT
1 parent 9e84522 commit 27ca680

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

c/cert/test/rules/EXP40-C/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void f2() {
2424
}
2525

2626
void f4a(int *a) {
27-
*a = 100; // NON_COMPLAINT
27+
*a = 100; // NON_COMPLIANT
2828
}
2929

3030
void f4b(int *a) {}

c/misra/test/rules/RULE-17-5/test.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,32 @@ void t1() {
1515
int ar4[4] = {1, 2, 3};
1616
int *ar4p = ar4;
1717

18-
f1(0); // NON_COMPLAINT
19-
f1(ar); // NON_COMPLAINT
18+
f1(0); // NON_COMPLIANT
19+
f1(ar); // NON_COMPLIANT
2020
f1(ar2); // COMPLIANT
2121
f1(ar2p); // NON_COMPLIANT
2222
f1(ar3); // COMPLIANT
2323
f1(ar3p); // COMPLIANT
2424
f1(ar4); // COMPLIANT
2525

26-
f2(0, 0); // NON_COMPLAINT
27-
f2(0, ar); // NON_COMPLAINT
26+
f2(0, 0); // NON_COMPLIANT
27+
f2(0, ar); // NON_COMPLIANT
2828
f2(0, ar2); // COMPLIANT
2929
f2(0, ar2p); // NON_COMPLIANT
3030
f2(0, ar3); // COMPLIANT
3131
f2(0, ar3p); // COMPLIANT
3232
f2(0, ar4); // COMPLIANT
3333

34-
f3(0); // COMPLAINT
35-
f3(ar); // COMPLAINT
34+
f3(0); // COMPLIANT
35+
f3(ar); // COMPLIANT
3636
f3(ar2); // COMPLIANT
3737
f3(ar2p); // COMPLIANT
3838
f3(ar3); // COMPLIANT
3939
f3(ar3p); // COMPLIANT
4040
f3(ar4); // COMPLIANT
4141

42-
f4(0, 0); // COMPLAINT
43-
f4(0, ar); // COMPLAINT
42+
f4(0, 0); // COMPLIANT
43+
f4(0, ar); // COMPLIANT
4444
f4(0, ar2); // COMPLIANT
4545
f4(0, ar2p); // COMPLIANT
4646
f4(0, ar3); // COMPLIANT

c/misra/test/rules/RULE-17-7/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ int f2() { return 0; }
33

44
int t1() {
55
f1();
6-
f2(); // NON_COMPLAINT
6+
f2(); // NON_COMPLIANT
77
(void)f2(); // COMPLIANT
88
int a = f2(); // COMPLIANT
99
a = f2(); // COMPLIANT

cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include <assert.h> // NON_COMPLIANT
2-
#include <complex.h> // NON_COMPLAINT
2+
#include <complex.h> // NON_COMPLIANT
33
#include <ctype.h> // NON_COMPLIANT
44
#include <errno.h> // NON_COMPLIANT
55
#include <fenv.h> // NON_COMPLIANT
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
class A {
22
class B *impl;
33

4-
void test() { delete impl; } // NON_COMPLAINT
4+
void test() { delete impl; } // NON_COMPLIANT
55
};
66

77
class D {};
88

99
class C {
1010
class D *impl1;
1111

12-
void test() { delete impl1; } // COMPLAINT
12+
void test() { delete impl1; } // COMPLIANT
1313
};

cpp/common/test/rules/validcontainerelementaccess/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void f11(std::string cs) {
111111
const char *cp = cs.c_str();
112112
const char *cpe = cp + 2;
113113

114-
while (cp < cpe) { // COMPLAINT
114+
while (cp < cpe) { // COMPLIANT
115115
std::string arg(cp); // COMPLIANT
116116
cp += arg.size() + 1;
117117
}

0 commit comments

Comments
 (0)