File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
common/test/rules/preservesafetywhenusingconditionvariables
misra/test/rules/RULE-1-3 Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ void f1() {
2929 }
3030
3131 mtx_destroy (& mxl );
32- return 0 ;
3332}
3433
3534void f2 () {
@@ -48,5 +47,4 @@ void f2() {
4847 }
4948
5049 mtx_destroy (& mxl );
51- return 0 ;
5250}
Original file line number Diff line number Diff line change 1+ // void main(void) { // COMPLIANT does not compile in clang
2+ // }
3+
4+ int ____codeql_coding_standards_m1(int argc, char **argv) { // NON_COMPLIANT
5+ return 0;
6+ }
7+
8+ void ____codeql_coding_standards_m2(char *argc, char **argv) { // NON_COMPLIANT
9+ }
10+
11+ int ____codeql_coding_standards_m3(int argc, char *argv) { // NON_COMPLIANT
12+ return 0;
13+ }
14+
15+ int ____codeql_coding_standards_m4() { // NON_COMPLIANT
16+ return 0;
17+ }
18+
19+ int ____codeql_coding_standards_m5(int argc, int *argv) { // NON_COMPLIANT
20+ return 0;
21+ }
22+
23+ int ____codeql_coding_standards_m6(int argc, int **argv) { // NON_COMPLIANT
24+ return 0;
25+ }
You can’t perform that action at this time.
0 commit comments