Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ddda8 commit dd169d1Copy full SHA for dd169d1
2 files changed
…ry-tests/clang_builtin_macros/extended.c …-tests/clang_builtin_macros/extended.cppcpp/ql/test/library-tests/clang_builtin_macros/extended.c renamed to cpp/ql/test/library-tests/clang_builtin_macros/extended.cpp
@@ -1,3 +1,4 @@
1
+// semmle-extractor-options: --edg --clang --edg --c++11 --edg --nullptr
2
+
3
static int has_nullptr_f = __has_feature(cxx_nullptr);
4
static int has_nullptr_e = __has_extension(cxx_nullptr);
-// semmle-extractor-options: --edg --clang --edg --c++ --edg --nullptr
cpp/ql/test/library-tests/clang_builtin_macros/values.expected
@@ -2,8 +2,8 @@
| | gp_offset | <no initialiser value> |
| | overflow_arg_area | <no initialiser value> |
| | reg_save_area | <no initialiser value> |
5
-| extended.c | has_nullptr_e | 1 |
6
-| extended.c | has_nullptr_f | 1 |
+| extended.cpp | has_nullptr_e | 1 |
+| extended.cpp | has_nullptr_f | 1 |
7
| gcc492.c | has_include | 1 |
8
| gcc492.c | has_macro_include | 1 |
9
| gcc492.c | has_missing_include | 0 |
0 commit comments