We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b070a0 commit 0441ef7Copy full SHA for 0441ef7
cpp/misra/test/rules/RULE-4-1-1/test.cpp
@@ -69,11 +69,11 @@ typedef int t2 __attribute__((vector_size(16))); // NON_COMPLIANT
69
#ifdef __cplusplus // COMPLIANT
70
#endif
71
72
-#pragma once
+#pragma once // NON_COMPLIANT
73
#pragma GCC diagnostic push // NON_COMPLIANT
74
#warning "This is a warning" // NON_COMPLIANT
75
// clang-format off
76
-# warning "preceeding spaces is common" // NON_COMPLIANT
+# warning "preceding spaces is common" // NON_COMPLIANT
77
// clang-format on
78
79
const int g5 = 5;
0 commit comments