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

Appearance settings

Commit 71e1992

Browse filesBrowse files
committed
Fix a number of typos in tests
1 parent 1e03c51 commit 71e1992
Copy full SHA for 71e1992

File tree

4 files changed

+4
-4
lines changed
Filter options

4 files changed

+4
-4
lines changed

‎cpp/autosar/test/rules/A12-8-1/test.cpp

Copy file name to clipboardExpand all lines: cpp/autosar/test/rules/A12-8-1/test.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class C4 {
4444
C4() : m1(0) {}
4545
C4(C4 const &p1) : m1(p1.m1) {
4646
std::cout << "Copying class C4"
47-
<< std::endl; // NON_COMPLIANT - peformance overhead affecting the
47+
<< std::endl; // NON_COMPLIANT - performance overhead affecting the
4848
// copying of th object?
4949
}
5050

‎cpp/autosar/test/rules/A13-5-3/test.cpp

Copy file name to clipboardExpand all lines: cpp/autosar/test/rules/A13-5-3/test.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int main() {
3535
bar(static_cast<A *>(b)); // NON_COMPLIANT--explicit
3636

3737
A(*pa)[3] = b; // NON_COMPLIANT - converting B to array of A (size 3)-
38-
// decalartion of variable name pa, pointer to array of A , array size is 3
38+
// declaration of variable name pa, pointer to array of A , array size is 3
3939

4040
C c;
4141
bar(c); // NON_COMPLIANT - one pointer with bar

‎cpp/autosar/test/rules/A5-1-1/test.cpp

Copy file name to clipboardExpand all lines: cpp/autosar/test/rules/A5-1-1/test.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <stdexcept>
33

44
void test_exception1() {
5-
throw "constant string"; // NOT_COMPLIANT - not used in type initialization
5+
throw "constant string"; // NON_COMPLIANT - not used in type initialization
66
}
77

88
void test_exception2() {

‎cpp/cert/test/rules/EXP52-CPP/DoNotRelyOnSideEffectsInSizeOfOperand.cpp

Copy file name to clipboardExpand all lines: cpp/cert/test/rules/EXP52-CPP/DoNotRelyOnSideEffectsInSizeOfOperand.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
int g1 = 0;
22

3-
unsigned char g2[sizeof(g1++)]; // NOT_COMPLIANT
3+
unsigned char g2[sizeof(g1++)]; // NON_COMPLIANT
44

55
void f1(int p);
66
void f2(long long p);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.