Skip to content

Commit 0441ef7

Browse files
mbaludaCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9b070a0 commit 0441ef7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/misra/test/rules/RULE-4-1-1/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ typedef int t2 __attribute__((vector_size(16))); // NON_COMPLIANT
6969
#ifdef __cplusplus // COMPLIANT
7070
#endif
7171

72-
#pragma once
72+
#pragma once // NON_COMPLIANT
7373
#pragma GCC diagnostic push // NON_COMPLIANT
7474
#warning "This is a warning" // NON_COMPLIANT
7575
// clang-format off
76-
# warning "preceeding spaces is common" // NON_COMPLIANT
76+
# warning "preceding spaces is common" // NON_COMPLIANT
7777
// clang-format on
7878

7979
const int g5 = 5;

0 commit comments

Comments
 (0)