File tree 1 file changed +4
-4
lines changed
cpp/autosar/test/rules/A12-8-6
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ class DerivedClass1 // COMPLIANT - not a base class itself
12
12
13
13
// Base class with compiler generated move/copy is not compliant, because they
14
14
// are public by default
15
- class BaseClass2 {}; // NON_COMPLIANT - compiler generated move and assignment
16
- // are in contravention
15
+ class BaseClass2 {}; // NON_COMPLIANT[FALSE_NEGATIVE] - compiler generated move
16
+ // and assignment are in contravention
17
17
class DerivedClass2 // COMPLIANT - not a base class itself
18
18
: public BaseClass2 {};
19
19
@@ -87,7 +87,7 @@ template <class T1> class BaseClass7 {
87
87
BaseClass7 &operator =(BaseClass7 const &) = default ; // NON_COMPLIANT
88
88
BaseClass7 &operator =(BaseClass7 &&) = default ; // NON_COMPLIANT
89
89
int operator =(int i); // COMPLIANT - not an assignment operator
90
- }; // COMPLIANT
90
+ };
91
91
92
92
template <class T >
93
93
class DerivedClass7 // COMPLIANT - not a base class itself
@@ -121,7 +121,7 @@ class DerivedClass9 // COMPLIANT - not a base class itself
121
121
T t;
122
122
};
123
123
124
- template <class T > class BaseClass9 { // NON_COMPLIANT
124
+ template <class T > class BaseClass9 { // NON_COMPLIANT[FALSE_NEGATIVE]
125
125
126
126
public:
127
127
BaseClass9 () {}
You can’t perform that action at this time.
0 commit comments