mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: fix test to enable C++11 support in frontend
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// semmle-extractor-options: --edg --clang --edg --c++11 --edg --nullptr
|
||||
|
||||
static int has_nullptr_f = __has_feature(cxx_nullptr);
|
||||
static int has_nullptr_e = __has_extension(cxx_nullptr);
|
||||
// semmle-extractor-options: --edg --clang --edg --c++ --edg --nullptr
|
||||
@@ -2,8 +2,8 @@
|
||||
| | gp_offset | <no initialiser value> |
|
||||
| | overflow_arg_area | <no initialiser value> |
|
||||
| | reg_save_area | <no initialiser value> |
|
||||
| extended.c | has_nullptr_e | 1 |
|
||||
| extended.c | has_nullptr_f | 1 |
|
||||
| extended.cpp | has_nullptr_e | 1 |
|
||||
| extended.cpp | has_nullptr_f | 1 |
|
||||
| gcc492.c | has_include | 1 |
|
||||
| gcc492.c | has_macro_include | 1 |
|
||||
| gcc492.c | has_missing_include | 0 |
|
||||
|
||||
Reference in New Issue
Block a user