File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/autosar/test/rules/A12-8-6 Expand file tree Collapse file tree 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
1212
1313// Base class with compiler generated move/copy is not compliant, because they
1414// 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
1717class DerivedClass2 // COMPLIANT - not a base class itself
1818 : public BaseClass2 {};
1919
@@ -87,7 +87,7 @@ template <class T1> class BaseClass7 {
8787 BaseClass7 &operator =(BaseClass7 const &) = default ; // NON_COMPLIANT
8888 BaseClass7 &operator =(BaseClass7 &&) = default ; // NON_COMPLIANT
8989 int operator =(int i); // COMPLIANT - not an assignment operator
90- }; // COMPLIANT
90+ };
9191
9292template <class T >
9393class DerivedClass7 // COMPLIANT - not a base class itself
@@ -121,7 +121,7 @@ class DerivedClass9 // COMPLIANT - not a base class itself
121121 T t;
122122};
123123
124- template <class T > class BaseClass9 { // NON_COMPLIANT
124+ template <class T > class BaseClass9 { // NON_COMPLIANT[FALSE_NEGATIVE]
125125
126126public:
127127 BaseClass9 () {}
You can’t perform that action at this time.
0 commit comments