Searched refs:__has_warning (Results 1 – 9 of 9) 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")27 #if __has_warning "not valid"37 #if __has_warning(MY_ALIAS)42 #define HAS_WARNING(X) __has_warning(X)
5 int i = __has_warning(
5 int i = __has_warning();
116 #ifndef __has_warning117 #define __has_warning(x) 0 macro122 #if __has_warning("-Wimplicit-fallthrough") && __cplusplus >= 201103L
36 #if defined(__clang__) && __cplusplus >= 201103L && defined(__has_warning)37 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
14 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
14 #if __has_warning("-Wan-island-to-discover"_bar) // expected-error {{user-defined suffix cannot be …
409 ExtWarn<"__has_warning expected option name (e.g. \"-Wundef\")">,
281 ``__has_warning``289 #if __has_warning("-Wformat")