Searched refs:__has_warning (Results 1 – 17 of 17) sorted by relevance
2 #ifndef __has_warning3 #error Should have __has_warning6 #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")26 #if __has_warning "not valid"36 #if __has_warning(MY_ALIAS)41 #define HAS_WARNING(X) __has_warning(X)
5 int i = __has_warning(
5 int i = __has_warning();
44 #if defined(__clang__) && defined(LANG_CXX11) && defined(__has_warning)45 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
71 #if defined(__clang__) && defined(__has_warning)72 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
57 #if defined(__clang__) && defined(__has_warning)58 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
198 #ifndef __has_warning199 #define __has_warning(x) 0203 #if __has_warning("-Wimplicit-fallthrough") && __cplusplus >= 201103L
61 #if defined(__clang__) && __cplusplus >= 201103L && defined(__has_warning)62 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
116 #if defined(__clang__) && defined(LANG_CXX11) && defined(__has_warning)117 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
435 #ifndef __has_warning436 # define __has_warning(x) 0 macro520 (__has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough"))
14 #if __has_warning("-Wan-island-to-discover"_bar) // expected-error {{user-defined suffix cannot be …
59 #if defined(__clang__) && defined(__has_warning)60 # if __has_warning("-Wimplicit-fallthrough")
40 #if defined(__clang__) && defined(__has_warning)41 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
431 ExtWarn<"__has_warning expected option name (e.g. \"-Wundef\")">,
281 ``__has_warning``289 #if __has_warning("-Wformat")
574 #if __has_warning("-Wzero-as-null-pointer-constant")