Skip to content

Commit

Permalink
Add markers for non-compliant cases
Browse files Browse the repository at this point in the history
  • Loading branch information
rak3-sh committed Nov 25, 2024
1 parent e736cb0 commit e9b3ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/autosar/test/rules/A7-1-2/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class MissingConstexprClass {
MissingConstexprClass(int i) = delete; // NON_COMPLIANT
MissingConstexprClass(int i, LiteralClass lc) {} // NON_COMPLIANT
private:
int m1 = 0;
int m1 = 0; // NON_COMPLIANT
};

class VirtualBaseClass {};
Expand All @@ -138,7 +138,7 @@ class DerivedClass : public virtual VirtualBaseClass {
DerivedClass(int i) = delete; // COMPLIANT
DerivedClass(int i, LiteralClass lc) {} // COMPLIANT
private:
int m1 = 0;
int m1 = 0; // NON_COMPLIANT
};

class NotAllMembersInitializedClass {
Expand Down

0 comments on commit e9b3ebd

Please sign in to comment.