Home
last modified time | relevance | path

Searched refs:__has_attribute (Results 1 – 25 of 74) 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCompiler.h35 #ifndef __has_attribute
36 # define __has_attribute(x) 0 macro
104 #if (__has_attribute(visibility) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
117 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
144 #if __has_attribute(unused) || LLVM_GNUC_PREREQ(3, 1, 0)
151 #if (__has_attribute(weak) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
167 #if __has_attribute(pure) || defined(__GNUC__)
184 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
196 #if __has_attribute(always_inline) || LLVM_GNUC_PREREQ(4, 0, 0)
212 #if __has_attribute(returns_nonnull) || LLVM_GNUC_PREREQ(4, 9, 0)
[all …]
/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)
/external/libcxxabi/src/demangle/
DCompiler.h22 #ifndef __has_attribute
23 #define __has_attribute(x) 0 macro
27 #if __has_attribute(noinline) && __has_attribute(used)
/external/tcpdump/
Dfuncattrs.h50 #ifndef __has_attribute
58 #define __has_attribute(x) 0 macro
67 #if __has_attribute(noreturn) \
94 #if __has_attribute(__format__) \
/external/libcxxabi/include/
D__cxxabi_config.h18 #if !defined(__has_attribute)
19 #define __has_attribute(_attribute_) 0 macro
44 #if __has_attribute(__type_visibility__)
67 #if __has_attribute(__no_sanitize__) && defined(_LIBCXXABI_COMPILER_CLANG)
/external/libcxx/include/
D__cxxabi_config.h18 #if !defined(__has_attribute)
19 #define __has_attribute(_attribute_) 0 macro
44 #if __has_attribute(__type_visibility__)
67 #if __has_attribute(__no_sanitize__) && defined(_LIBCXXABI_COMPILER_CLANG)
D__config132 #ifndef __has_attribute
133 #define __has_attribute(__x) 0
325 #if __has_attribute(__no_sanitize__) && !defined(_LIBCPP_COMPILER_GCC)
475 #if !defined(_LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK) && __has_attribute(no_sanitize)
707 # if __has_attribute(__type_visibility__)
738 # if !defined(_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS) && __has_attribute(__type_visibility__)
746 # if !defined(_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS) && __has_attribute(__type_visibility__)
757 #if __has_attribute(internal_linkage)
763 #if __has_attribute(exclude_from_explicit_instantiation)
821 # if __has_attribute(__enable_if__)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DCompiler.h32 #ifndef __has_attribute
33 #define __has_attribute(x) 0 macro
53 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
65 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
/external/v8/include/
Dv8config.h214 # define V8_HAS_ATTRIBUTE_ALIGNED (__has_attribute(aligned))
215 # define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline))
216 # define V8_HAS_ATTRIBUTE_DEPRECATED (__has_attribute(deprecated))
219 # define V8_HAS_ATTRIBUTE_NOINLINE (__has_attribute(noinline))
220 # define V8_HAS_ATTRIBUTE_UNUSED (__has_attribute(unused))
221 # define V8_HAS_ATTRIBUTE_VISIBILITY (__has_attribute(visibility))
223 (__has_attribute(warn_unused_result))
/external/oj-libjdwp/src/solaris/javavm/export/
Djni_md.h29 #ifndef __has_attribute
30 #define __has_attribute(x) 0 macro
32 …C__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(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/libpcap/pcap/
Dfuncattrs.h161 #if __has_attribute(noreturn) \
191 #if __has_attribute(__format__) \
214 #if __has_attribute(deprecated) \
Dcompiler-tests.h45 #ifndef __has_attribute
53 #define __has_attribute(x) 0 macro
/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/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/libtextclassifier/lang_id/common/lite_base/
Dattributes.h32 #ifdef __has_attribute
33 #define SAFTM_HAVE_ATTRIBUTE(x) __has_attribute(x)
/external/pdfium/third_party/libopenjpeg20/
Dopj_includes.h125 #ifdef __has_attribute
126 #if __has_attribute(no_sanitize)
/external/deqp/framework/delibs/decpp/
DdeDefs.hpp121 #if (DE_COMPILER == DE_COMPILER_CLANG) && defined(__has_attribute)
122 # if __has_attribute(warn_unused)
/external/libchrome/base/
Dcompiler_specific.h157 #if defined(__has_attribute)
158 #if __has_attribute(no_sanitize)
/external/pdfium/third_party/base/
Dcompiler_specific.h161 #if defined(__has_attribute)
162 #if __has_attribute(no_sanitize)
/external/icu/icu4c/source/common/unicode/
Dplatform.h417 #ifndef __has_attribute
418 # define __has_attribute(x) 0 macro
455 …GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || __has_attribute(alloc_size)
/external/icu/libandroidicu/include/unicode/
Dplatform.h417 #ifndef __has_attribute
418 # define __has_attribute(x) 0 macro
455 …GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || __has_attribute(alloc_size)

123