Skip to content

Commit 01d32f0

Browse files
committed
Fix test file formatting
1 parent 41fdf07 commit 01d32f0

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

Diff for: cpp/autosar/test/rules/A12-0-1/test.cpp

+11-13
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,14 @@ class C14 {
6969
};
7070

7171
class C15 {
72-
C15& operator=(C15 const &); // NON_COMPLIANT
72+
C15 &operator=(C15 const &); // NON_COMPLIANT
7373
};
7474

75-
template<typename T>
76-
class C16 { // COMPLIANT
77-
C16() = default;};
75+
template <typename T> class C16 { // COMPLIANT
76+
C16() = default;
77+
};
7878

79-
template<typename T>
80-
class C17 { // COMPLIANT
79+
template <typename T> class C17 { // COMPLIANT
8180
C17() = default;
8281
C17(C17 const &) = default;
8382
C17(C17 &&) = default;
@@ -86,8 +85,7 @@ class C17 { // COMPLIANT
8685
C17 &operator=(C17 &&) = default;
8786
};
8887

89-
template<typename T>
90-
class C18 { // COMPLIANT
88+
template <typename T> class C18 { // COMPLIANT
9189
C18() = default;
9290
C18(C18 const &) = delete;
9391
C18(C18 &&) = delete;
@@ -96,15 +94,15 @@ class C18 { // COMPLIANT
9694
C18 &operator=(C18 &&) = delete;
9795
};
9896

99-
template<typename T>
100-
class C19 { // COMPLIANT
101-
public:
97+
template <typename T> class C19 { // COMPLIANT
98+
public:
10299
explicit C19(T i) : i(i) {}
103100
C19(C19 const &) = delete;
104101
C19(C19 &&) = delete;
105102
virtual ~C19() = default;
106103
C19 &operator=(C19 const &) = delete;
107104
C19 &operator=(C19 &&) = delete;
108-
private:
109-
T i;
105+
106+
private:
107+
T i;
110108
};

0 commit comments

Comments
 (0)