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 d74f0f2 commit 7462ec8Copy full SHA for 7462ec8
cpp/autosar/test/rules/A0-1-4/test.cpp
@@ -0,0 +1,9 @@
1
+ void f(
2
+ [[maybe_unused]] int i, // compliant
3
+ int j, // compliant
4
+ int k // compliant
5
+ ) {
6
+ static_cast<void>(i);
7
+ (void)j;
8
+ std::ignore = k;
9
+ }
0 commit comments