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 338c99c commit 5fcb20aCopy full SHA for 5fcb20a
cpp/autosar/test/rules/A5-2-6/test.cpp
@@ -1,5 +1,4 @@
1
-// TODO: remove function body
2
-extern void f1(){};
+extern void f1();
3
void f2(int p1, int p2) {
4
if (p1 > 0 && p1 < 10) { // NON_COMPLIANT
5
f1();
@@ -32,7 +31,4 @@ void f2(int p1, int p2) {
32
31
// dereference (->) are excluded
33
34
}
35
-}
36
-
37
-// TODO: remove this
38
-int main() { return 0; }
+}
0 commit comments