mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Merge pull request #18350 from jketema/test-cleanup-2
C++: Simplify more `semmle-extractor-options`
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: -Werror
|
||||
|
||||
#ifndef __CODEQL_TEST__
|
||||
#error __CODEQL_TEST__ missing
|
||||
#endif
|
||||
|
||||
@@ -17,5 +17,4 @@
|
||||
| arguments.c | 17 | __CODEQL_TEST__ |
|
||||
| arguments.c | 18 | --gcc |
|
||||
| arguments.c | 19 | -w |
|
||||
| arguments.c | 20 | -Werror |
|
||||
| arguments.c | 21 | arguments.c |
|
||||
| arguments.c | 20 | arguments.c |
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: -fblocks
|
||||
semmle-extractor-options: --edg --blocks
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: -fblocks
|
||||
semmle-extractor-options: --edg --blocks
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: -fblocks
|
||||
semmle-extractor-options: --edg --blocks
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: -fblocks
|
||||
semmle-extractor-options: --edg --blocks
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: -fblocks
|
||||
semmle-extractor-options: --edg --blocks
|
||||
|
||||
@@ -4,4 +4,4 @@ void disabled(void) {
|
||||
p = &(int)a;
|
||||
}
|
||||
|
||||
// semmle-extractor-options: --microsoft /Zc:rvalueCast-
|
||||
// semmle-extractor-options: --microsoft --edg --preserve_lvalues_with_same_type_casts
|
||||
|
||||
@@ -4,4 +4,4 @@ void enabled(void) {
|
||||
p = &(int)a;
|
||||
}
|
||||
|
||||
// semmle-extractor-options: --microsoft /Zc:rvalueCast --expect_errors
|
||||
// semmle-extractor-options: --microsoft --edg --no_preserve_lvalues_with_same_type_casts --expect_errors
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: -fblocks
|
||||
semmle-extractor-options: --edg --blocks
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: --gnu_version 40801 --clang -Xclang-only=-Wno-reserved-user-defined-literal
|
||||
semmle-extractor-options: --gnu_version 40801 --clang --edg --no_reserved_user_defined_literal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// semmle-extractor-options: -fblocks
|
||||
// semmle-extractor-options: --edg --blocks
|
||||
#ifdef COMPILABLE_TEST
|
||||
#include <stdio.h>
|
||||
#else
|
||||
|
||||
@@ -1 +1 @@
|
||||
semmle-extractor-options: --microsoft /Zc:wchar_t- --edg --target --edg win64
|
||||
semmle-extractor-options: --microsoft --edg --no_wchar_t_keyword --edg --target --edg win64
|
||||
|
||||
Reference in New Issue
Block a user