Home
last modified time | relevance | path

Searched refs:__has_attribute (Results 1 – 25 of 56) sorted by relevance

123

/external/clang/test/Preprocessor/
Dhas_attribute.c4 #if __has_attribute(always_inline)
9 #if __has_attribute(__always_inline__)
14 #if !__has_attribute(dummy_attribute)
19 #ifdef __has_attribute
24 #if !__has_attribute(something_we_dont_have)
29 #if __has_attribute(__const)
33 #if __has_attribute(const)
38 #if !__has_attribute(volatile)
43 #if __has_attribute(interrupt)
48 #if !__has_attribute(dllexport)
[all …]
/external/llvm/include/llvm/Support/
DCompiler.h32 #ifndef __has_attribute
33 # define __has_attribute(x) 0 macro
110 #if (__has_attribute(visibility) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
117 #if __has_attribute(sentinel) || LLVM_GNUC_PREREQ(3, 0, 0)
123 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
129 #if __has_attribute(warn_unused_result) || LLVM_GNUC_PREREQ(3, 4, 0)
145 #if __has_attribute(unused) || LLVM_GNUC_PREREQ(3, 1, 0)
152 #if (__has_attribute(weak) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
168 #if __has_attribute(pure) || defined(__GNUC__)
185 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCompiler.h32 #ifndef __has_attribute
33 # define __has_attribute(x) 0 macro
101 #if (__has_attribute(visibility) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
114 #if __has_attribute(sentinel) || LLVM_GNUC_PREREQ(3, 0, 0)
120 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
147 #if __has_attribute(unused) || LLVM_GNUC_PREREQ(3, 1, 0)
154 #if (__has_attribute(weak) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
170 #if __has_attribute(pure) || defined(__GNUC__)
187 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
199 #if __has_attribute(always_inline) || LLVM_GNUC_PREREQ(4, 0, 0)
[all …]
/external/brotli/include/brotli/
Dport.h17 #ifndef __has_attribute
18 #define __has_attribute(x) 0 macro
71 #if BROTLI_MODERN_COMPILER || __has_attribute(always_inline)
79 #elif BROTLI_MODERN_COMPILER || __has_attribute(visibility)
132 #if BROTLI_MODERN_COMPILER || __has_attribute(noinline)
138 #if BROTLI_MODERN_COMPILER || __has_attribute(deprecated)
/external/dng_sdk/source/
Ddng_fingerprint.h229 #if defined(__clang__) && defined(__has_attribute)
230 #if __has_attribute(no_sanitize)
247 #if defined(__clang__) && defined(__has_attribute)
248 #if __has_attribute(no_sanitize)
265 #if defined(__clang__) && defined(__has_attribute)
266 #if __has_attribute(no_sanitize)
283 #if defined(__clang__) && defined(__has_attribute)
284 #if __has_attribute(no_sanitize)
Ddng_bad_pixels.h81 #if defined(__clang__) && defined(__has_attribute)
82 #if __has_attribute(no_sanitize)
/external/v8/include/
Dv8config.h208 # define V8_HAS_ATTRIBUTE_ALIGNED (__has_attribute(aligned))
209 # define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline))
210 # define V8_HAS_ATTRIBUTE_DEPRECATED (__has_attribute(deprecated))
211 # define V8_HAS_ATTRIBUTE_NOINLINE (__has_attribute(noinline))
212 # define V8_HAS_ATTRIBUTE_NORETURN (__has_attribute(noreturn))
213 # define V8_HAS_ATTRIBUTE_UNUSED (__has_attribute(unused))
214 # define V8_HAS_ATTRIBUTE_VISIBILITY (__has_attribute(visibility))
216 (__has_attribute(warn_unused_result))
/external/libcxx/include/
D__cxxabi_config.h20 #if !defined(__has_attribute)
21 #define __has_attribute(_attribute_) 0 macro
46 #if __has_attribute(__type_visibility__)
D__config89 #ifndef __has_attribute
90 #define __has_attribute(__x) 0
254 #if __has_attribute(__no_sanitize__)
412 #if !defined(_LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK) && __has_attribute(no_sanitize)
645 # if __has_attribute(__type_visibility__)
676 # if !defined(_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS) && __has_attribute(__type_visibility__)
684 # if !defined(_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS) && __has_attribute(__type_visibility__)
720 # if __has_attribute(__enable_if__)
1030 #if defined(__clang__) && __has_attribute(acquire_capability)
1040 #if __has_attribute(require_constant_initialization)
[all …]
/external/libcxxabi/include/
D__cxxabi_config.h20 #if !defined(__has_attribute)
21 #define __has_attribute(_attribute_) 0 macro
46 #if __has_attribute(__type_visibility__)
/external/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp99 #if !__has_attribute(no_thread_safety_analysis)
138 #if !__has_attribute(guarded_var)
176 #if !__has_attribute(pt_guarded_var)
220 #if !__has_attribute(lockable)
260 #if !__has_attribute(scoped_lockable)
302 #if !__has_attribute(guarded_by)
372 #if !__has_attribute(pt_guarded_by)
442 #if !__has_attribute(acquired_after)
502 #if !__has_attribute(acquired_before)
566 #if !__has_attribute(exclusive_lock_function)
[all …]
/external/skia/third_party/libpng/
Dpngconf.h342 # if defined(__clang__) && defined(__has_attribute)
344 # if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
347 # if !defined(PNG_NORETURN) && __has_attribute(__noreturn__)
350 # if !defined(PNG_ALLOCATED) && __has_attribute(__malloc__)
353 # if !defined(PNG_DEPRECATED) && __has_attribute(__deprecated__)
/external/libpng/
Dpngconf.h342 # if defined(__clang__) && defined(__has_attribute)
344 # if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
347 # if !defined(PNG_NORETURN) && __has_attribute(__noreturn__)
350 # if !defined(PNG_ALLOCATED) && __has_attribute(__malloc__)
353 # if !defined(PNG_DEPRECATED) && __has_attribute(__deprecated__)
/external/pdfium/third_party/libpng16/
Dpngconf.h342 # if defined(__clang__) && defined(__has_attribute)
344 # if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
347 # if !defined(PNG_NORETURN) && __has_attribute(__noreturn__)
350 # if !defined(PNG_ALLOCATED) && __has_attribute(__malloc__)
353 # if !defined(PNG_DEPRECATED) && __has_attribute(__deprecated__)
/external/libpcap/tests/
Dopentest.c51 #ifndef __has_attribute
59 #define __has_attribute(x) 0 macro
62 #if __has_attribute(noreturn) \
79 #if __has_attribute(__format__) \
Dcapturetest.c52 #ifndef __has_attribute
60 #define __has_attribute(x) 0 macro
63 #if __has_attribute(noreturn) \
80 #if __has_attribute(__format__) \
Dfiltertest.c60 #ifndef __has_attribute
68 #define __has_attribute(x) 0 macro
71 #if __has_attribute(noreturn) \
88 #if __has_attribute(__format__) \
Dselpolltest.c60 #ifndef __has_attribute
68 #define __has_attribute(x) 0 macro
71 #if __has_attribute(noreturn) \
88 #if __has_attribute(__format__) \
Dvalgrindtest.c109 #ifndef __has_attribute
117 #define __has_attribute(x) 0 macro
120 #if __has_attribute(noreturn) \
137 #if __has_attribute(__format__) \
/external/libmicrohttpd/src/include/
Dautoinit_funcs.h72 #ifdef __has_attribute
73 #if !__has_attribute(constructor) || !__has_attribute(destructor)
/external/deqp/framework/delibs/decpp/
DdeDefs.hpp121 #if (DE_COMPILER == DE_COMPILER_CLANG) && defined(__has_attribute)
122 # if __has_attribute(warn_unused)
/external/skia/include/core/
DSkPreConfig.h251 #if defined(__has_attribute)
252 # define SK_HAS_ATTRIBUTE(x) __has_attribute(x)
/external/icu/icu4c/source/common/unicode/
Dplatform.h434 #ifndef __has_attribute
435 # define __has_attribute(x) 0 macro
469 …GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || __has_attribute(alloc_size)
/external/clang/test/Lexer/
Dhas_attribute_objc_boxable.m3 #if __has_attribute(objc_boxable)
/external/v8/src/base/
Dmacros.h153 #if defined(__clang__) && defined(__has_attribute)
154 #if __has_attribute(no_sanitize)

123