Skip to content

Commit 113c464

Browse files
committed
Fix formatting
1 parent 4ab4507 commit 113c464

File tree

1 file changed

+3
-3
lines changed
  • cpp/misra/test/rules/RULE-10-2-2

1 file changed

+3
-3
lines changed

cpp/misra/test/rules/RULE-10-2-2/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class C1 {
6666
enum {
6767
C1_Anon1,
6868
C1_Anon2
69-
}; // COMPLIANT: unscoped anonymous in class (exception)
69+
}; // COMPLIANT: unscoped anonymous in class (exception)
7070
enum class E2 { G1 }; // COMPLIANT: scoped enum
7171

7272
class C2 {
@@ -88,7 +88,7 @@ struct S_Global {
8888
enum {
8989
S_Anon1,
9090
S_Anon2
91-
}; // COMPLIANT: unscoped anonymous in struct (exception)
91+
}; // COMPLIANT: unscoped anonymous in struct (exception)
9292
enum class E2 { G1 }; // COMPLIANT: scoped enum
9393
};
9494

@@ -101,7 +101,7 @@ enum E1 : int32_t { G1 }; // NON_COMPLIANT: unscoped in namespace
101101
class C1 {
102102
enum E2 {
103103
N4_V1
104-
}; // COMPLIANT: unscoped in class (exception) + hides N4::N4_V1
104+
}; // COMPLIANT: unscoped in class (exception) + hides N4::N4_V1
105105
enum E3 { G2 }; // COMPLIANT: unscoped in class (exception) + hides ::G2
106106
enum class E4 { N4_V1, G2 }; // COMPLIANT: scoped enum
107107
};

0 commit comments

Comments
 (0)