File tree Expand file tree Collapse file tree 16 files changed +16
-16
lines changed Expand file tree Collapse file tree 16 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 33#include "b.h"
44static 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
Original file line number Diff line number Diff line change 1- semmle-extractor-options: --edg -- microsoft
1+ semmle-extractor-options: --microsoft
Original file line number Diff line number Diff line change 1- semmle-extractor-options: --edg -- clang
1+ semmle-extractor-options: --clang
Original file line number Diff line number Diff line change 1- // semmle-extractor-options: --edg -- clang
1+ // semmle-extractor-options: --clang
22
33int x = 0 ;
44
Original file line number Diff line number Diff line change 1- // semmle-extractor-options: --edg -- clang --edg --c++11 --edg --nullptr
1+ // semmle-extractor-options: --clang --edg --c++11 --edg --nullptr
22
33static int has_nullptr_f = __has_feature(cxx_nullptr);
44static int has_nullptr_e = __has_extension(cxx_nullptr);
Original file line number Diff line number Diff line change 1- semmle-extractor-options: --edg -- clang
1+ semmle-extractor-options: --clang
Original file line number Diff line number Diff line change 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)
66static int has_include = 1 ;
77#else
Original file line number Diff line number Diff line change 1- semmle-extractor-options: --edg -- clang --edg --ms_extensions
1+ semmle-extractor-options: --clang --edg --ms_extensions
Original file line number Diff line number Diff line change 1- // semmle-extractor-options: --edg -- clang
1+ // semmle-extractor-options: --clang
22
33int source ();
44void sink (int ); void sink (const int *); void sink (int **); void indirect_sink (...);
Original file line number Diff line number Diff line change 1- // semmle-extractor-options: --edg -- microsoft
1+ // semmle-extractor-options: --microsoft
22
33void f (__declspec(guard(overflow)) size_t length) {
44}
You can’t perform that action at this time.
0 commit comments