Skip to content

Commit 0e04a59

Browse files
authored
Merge pull request github#16795 from jketema/test-cleanup
C++: Remove unneeded options from tests
2 parents a36e393 + 4c4c15b commit 0e04a59

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

cpp/ql/test/header-variant-tests/iquote/iquote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
#include "b.h"
44
static int has_angle_b = __has_include(<b.h>);
55

6-
// semmle-extractor-options: -I${testdir}/dir2 -iquote ${testdir}/dir1 --edg --clang
6+
// semmle-extractor-options: -I${testdir}/dir2 -iquote ${testdir}/dir1 --clang
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
semmle-extractor-options: --edg --microsoft
1+
semmle-extractor-options: --microsoft
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
semmle-extractor-options: --edg --clang
1+
semmle-extractor-options: --clang

cpp/ql/test/library-tests/clang_builtin_macros/addressof.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// semmle-extractor-options: --edg --clang
1+
// semmle-extractor-options: --clang
22

33
int x = 0;
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// semmle-extractor-options: --edg --clang --edg --c++11 --edg --nullptr
1+
// semmle-extractor-options: --clang --edg --c++11 --edg --nullptr
22

33
static int has_nullptr_f = __has_feature(cxx_nullptr);
44
static int has_nullptr_e = __has_extension(cxx_nullptr);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
semmle-extractor-options: --edg --clang
1+
semmle-extractor-options: --clang

cpp/ql/test/library-tests/clang_builtin_macros/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For the canonical behaviour, run: clang -E -w test.cpp
22
#define __builtin_TRAP __builtin_trap
33
#define BAR "bar.h"
4-
// semmle-extractor-options: --edg --clang --expect_errors
4+
// semmle-extractor-options: --clang --expect_errors
55
#if defined(__has_include)
66
static int has_include = 1;
77
#else
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
semmle-extractor-options: --edg --clang --edg --ms_extensions
1+
semmle-extractor-options: --clang --edg --ms_extensions

cpp/ql/test/library-tests/dataflow/dataflow-tests/clang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// semmle-extractor-options: --edg --clang
1+
// semmle-extractor-options: --clang
22

33
int source();
44
void sink(int); void sink(const int *); void sink(int **); void indirect_sink(...);

cpp/ql/test/library-tests/declspec/guard/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// semmle-extractor-options: --edg --microsoft
1+
// semmle-extractor-options: --microsoft
22

33
void f(__declspec(guard(overflow)) size_t length) {
44
}

0 commit comments

Comments
 (0)