Home
last modified time | relevance | path

Searched refs:__has_warning (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/Preprocessor/
Dwarning_tests.c2 #ifndef __has_warning
3 #error Should have __has_warning
6 #if __has_warning("not valid") // expected-warning {{__has_warning expected option name}}
10 #if __has_warning("-Wparentheses")
16 #if __has_warning(-Wfoo)
20 #if __has_warning("-Wnot-a-valid-warning-flag-at-all")
27 #if __has_warning "not valid"
37 #if __has_warning(MY_ALIAS)
42 #define HAS_WARNING(X) __has_warning(X)
Dinvalid-__has_warning1.c5 int i = __has_warning(
Dinvalid-__has_warning2.c5 int i = __has_warning();
/external/vixl/src/vixl/
Dglobals.h116 #ifndef __has_warning
117 #define __has_warning(x) 0 macro
122 #if __has_warning("-Wimplicit-fallthrough") && __cplusplus >= 201103L
/external/conscrypt/src/main/native/
Dmacros.h36 #if defined(__clang__) && __cplusplus >= 201103L && defined(__has_warning)
37 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/clang/test/SemaCXX/
Dswitch-implicit-fallthrough-macro.cpp14 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/clang/test/Parser/
Dcxx11-user-defined-literals.cpp14 #if __has_warning("-Wan-island-to-discover"_bar) // expected-error {{user-defined suffix cannot be …
/external/clang/include/clang/Basic/
DDiagnosticLexKinds.td409 ExtWarn<"__has_warning expected option name (e.g. \"-Wundef\")">,
/external/clang/docs/
DLanguageExtensions.rst281 ``__has_warning``
289 #if __has_warning("-Wformat")