Home
last modified time | relevance | path

Searched refs:__has_warning (Results 1 – 17 of 17) 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")
26 #if __has_warning "not valid"
36 #if __has_warning(MY_ALIAS)
41 #define HAS_WARNING(X) __has_warning(X)
Dinvalid-__has_warning1.c5 int i = __has_warning(
Dinvalid-__has_warning2.c5 int i = __has_warning();
/external/dynamic_depth/internal/base/
Dmacros.h44 #if defined(__clang__) && defined(LANG_CXX11) && defined(__has_warning)
45 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/libtextclassifier/utils/base/
Dmacros.h71 #if defined(__clang__) && defined(__has_warning)
72 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/libtextclassifier/lang_id/common/lite_base/
Dmacros.h57 #if defined(__clang__) && defined(__has_warning)
58 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/vixl/src/
Dglobals-vixl.h198 #ifndef __has_warning
199 #define __has_warning(x) 0
203 #if __has_warning("-Wimplicit-fallthrough") && __cplusplus >= 201103L
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dmacros.h61 #if defined(__clang__) && __cplusplus >= 201103L && defined(__has_warning)
62 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/tensorflow/tensorflow/core/platform/
Dmacros.h116 #if defined(__clang__) && defined(LANG_CXX11) && defined(__has_warning)
117 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/icu/icu4c/source/common/unicode/
Dplatform.h435 #ifndef __has_warning
436 # define __has_warning(x) 0 macro
520 (__has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough"))
/external/icu/libandroidicu/include/unicode/
Dplatform.h435 #ifndef __has_warning
436 # define __has_warning(x) 0 macro
520 (__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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DConvertUTF.cpp59 #if defined(__clang__) && defined(__has_warning)
60 # if __has_warning("-Wimplicit-fallthrough")
/external/libaom/libaom/av1/common/
Donyxc_int.h40 #if defined(__clang__) && defined(__has_warning)
41 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
/external/clang/include/clang/Basic/
DDiagnosticLexKinds.td431 ExtWarn<"__has_warning expected option name (e.g. \"-Wundef\")">,
/external/clang/docs/
DLanguageExtensions.rst281 ``__has_warning``
289 #if __has_warning("-Wformat")
/external/googletest/googletest/test/
Dgtest_unittest.cc574 #if __has_warning("-Wzero-as-null-pointer-constant")