Home
last modified time | relevance | path

Searched refs:__has_cpp_attribute (Results 1 – 8 of 8) sorted by relevance

/external/clang/test/Preprocessor/
Dhas_attribute.cpp4 #if __has_cpp_attribute(carries_dependency)
9 #if __has_cpp_attribute(clang::fallthrough)
14 #if !__has_cpp_attribute(selectany)
20 #if __has_cpp_attribute(clang::__fallthrough__)
26 #if !__has_cpp_attribute(__clang__::fallthrough)
33 #if !__has_cpp_attribute(gnu::mips16)
41 #if __has_cpp_attribute(carries_dependency) == 200809
46 #if __has_cpp_attribute(noreturn) == 200809
51 #if __has_cpp_attribute(deprecated) == 201309
56 #if __has_cpp_attribute(nodiscard) == 201603
[all …]
Dhas_attribute.c57 #if __has_cpp_attribute(selectany) // expected-error {{function-like macro '__has_cpp_attribute' is…
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCompiler.h36 #ifndef __has_cpp_attribute
37 # define __has_cpp_attribute(x) 0 macro
127 #if __cplusplus > 201402L && __has_cpp_attribute(nodiscard)
133 #elif __has_cpp_attribute(clang::warn_unused_result)
234 #if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
240 #elif __has_cpp_attribute(clang::fallthrough)
/external/icu/icu4c/source/common/unicode/
Dplatform.h437 #ifndef __has_cpp_attribute
438 # define __has_cpp_attribute(x) 0 macro
541 # if __has_cpp_attribute(clang::fallthrough) || \
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/
Dp3.cpp4 static_assert(__has_cpp_attribute(maybe_unused) == 201603, "");
/external/protobuf/src/google/protobuf/stubs/
Dport.h214 #if defined(__clang__) && defined(__has_cpp_attribute) \
217 __has_cpp_attribute(clang::fallthrough)
/external/clang/docs/
DLanguageExtensions.rst112 ``__has_cpp_attribute``
125 #ifndef __has_cpp_attribute // Optional of course.
126 #define __has_cpp_attribute(x) 0 // Compatibility with non-clang compilers.
130 #if __has_cpp_attribute(clang::fallthrough)
/external/fmtlib/fmt/
Dformat.h131 #ifdef __has_cpp_attribute
132 # define FMT_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x)