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 23a1bc3 commit 51ff26cCopy full SHA for 51ff26c
cpp/common/test/rules/unusedparameter/test.cpp
@@ -19,9 +19,9 @@ class A {
19
};
20
21
void f(
22
- int i, // COMPLIANT
23
- int j, // COMPLIANT
24
- int k, // COMPLIANT
+ int i, // COMPLIANT
+ int j, // COMPLIANT
+ int k, // COMPLIANT
25
[[maybe_unused]] int l // COMPLIANT: explicitly stated as [[maybe_unused]]
26
) {
27
static_cast<void>(i); // COMPLIANT: explicitly ignored by static_cast to void
0 commit comments