Skip to content

Commit de0a2ff

Browse files
committed
Correctly specify the compiler to mimic in test options files
1 parent 22c2da3 commit de0a2ff

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
| test.c:6:7:6:8 | x1 | Bit-field 'x1' is declared on type 'int'. |
2+
| test.c:10:15:10:16 | x5 | Bit-field 'x5' is declared on type 'signed long'. |
3+
| test.c:11:15:11:16 | x6 | Bit-field 'x6' is declared on type 'signed char'. |
4+
| test.c:12:14:12:15 | x7 | Bit-field 'x7' is declared on type 'Color'. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
semmle-extractor-options:--mimic clang --std=c11 --edg --diag_error=implicit_func_decl -nostdinc -I../../../../common/test/includes/standard-library
1+
semmle-extractor-options:--clang --std=c11 --edg --diag_error=implicit_func_decl -nostdinc -I../../../../common/test/includes/standard-library
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
| test.c:6:7:6:8 | x1 | Bit-field 'x1' is declared on type 'int'. |
2+
| test.c:10:15:10:16 | x5 | Bit-field 'x5' is declared on type 'signed long'. |
3+
| test.c:11:15:11:16 | x6 | Bit-field 'x6' is declared on type 'signed char'. |
4+
| test.c:12:14:12:15 | x7 | Bit-field 'x7' is declared on type 'Color'. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
semmle-extractor-options:--mimic gcc --std=c11 --edg --diag_error=implicit_func_decl -nostdinc -I../../../../common/test/includes/standard-library
1+
semmle-extractor-options:--gcc --std=c11 --edg --diag_error=implicit_func_decl -nostdinc -I../../../../common/test/includes/standard-library

0 commit comments

Comments
 (0)