Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DCompiler.h47 #ifndef LLVM_HAS_CPP_ATTRIBUTE
49 # define LLVM_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x) macro
51 # define LLVM_HAS_CPP_ATTRIBUTE(x) 0 macro
150 #if defined(__cplusplus) && __cplusplus > 201402L && LLVM_HAS_CPP_ATTRIBUTE(nodiscard)
152 #elif LLVM_HAS_CPP_ATTRIBUTE(clang::warn_unused_result)
158 #elif defined(__GNUC__) && LLVM_HAS_CPP_ATTRIBUTE(nodiscard)
171 #if LLVM_HAS_CPP_ATTRIBUTE(clang::reinitializes)
272 #if defined(__cplusplus) && __cplusplus > 201402L && LLVM_HAS_CPP_ATTRIBUTE(fallthrough)
274 #elif LLVM_HAS_CPP_ATTRIBUTE(gnu::fallthrough)
278 #elif LLVM_HAS_CPP_ATTRIBUTE(clang::fallthrough)
[all …]