We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb09ae9 commit dad6bc1Copy full SHA for dad6bc1
cpp/autosar/test/rules/M0-1-4/test.cpp
@@ -36,6 +36,6 @@ class C1 {
36
static constexpr int unused{1}; // NON_COMPLIANT
37
static constexpr int used{2}; // COMPLIANT
38
int test_use() { return used; }
39
- static constexpr int size{3}; // COMPLIANT[FALSE_POSITIVE]
+ static constexpr int size{3}; // COMPLIANT
40
std::array<bool, size> array{false, false}; // size is used here
41
};
0 commit comments