Home
last modified time | relevance | path

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

12

/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.h28 #ifndef __has_attribute
29 # define __has_attribute(x) 0 macro
106 #if (__has_attribute(visibility) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
113 #if __has_attribute(sentinel) || LLVM_GNUC_PREREQ(3, 0, 0)
119 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
125 #if __has_attribute(warn_unused_result) || LLVM_GNUC_PREREQ(3, 4, 0)
139 #if __has_attribute(unused) || LLVM_GNUC_PREREQ(3, 1, 0)
146 #if (__has_attribute(weak) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
162 #if __has_attribute(pure) || defined(__GNUC__)
192 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
[all …]
/external/v8/include/
Dv8config.h205 # define V8_HAS_ATTRIBUTE_ALIGNED (__has_attribute(aligned))
206 # define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline))
207 # define V8_HAS_ATTRIBUTE_DEPRECATED (__has_attribute(deprecated))
208 # define V8_HAS_ATTRIBUTE_NOINLINE (__has_attribute(noinline))
209 # define V8_HAS_ATTRIBUTE_UNUSED (__has_attribute(unused))
210 # define V8_HAS_ATTRIBUTE_VISIBILITY (__has_attribute(visibility))
212 (__has_attribute(warn_unused_result))
/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 …]
Dattr-no-sanitize-address.cpp5 #if !__has_attribute(no_sanitize_address)
Dattr-no-sanitize-thread.cpp5 #if !__has_attribute(no_sanitize_thread)
Dattr-no-sanitize-memory.cpp5 #if !__has_attribute(no_sanitize_memory)
/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/deqp/framework/delibs/decpp/
DdeDefs.hpp113 #if (DE_COMPILER == DE_COMPILER_CLANG) && defined(__has_attribute)
114 # if __has_attribute(warn_unused)
/external/icu/icu4c/source/common/unicode/
Dplatform.h429 #ifndef __has_attribute
430 # define __has_attribute(x) 0 macro
449 …GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || __has_attribute(alloc_size)
/external/skia/include/core/
DSkPreConfig.h250 #if defined(__has_attribute)
251 # define SK_HAS_ATTRIBUTE(x) __has_attribute(x)
/external/clang/test/Sema/
Dattr-tls_model.c3 #if !__has_attribute(tls_model)
/external/google-breakpad/src/common/mac/
DGTMDefines.h351 #if defined(__has_attribute)
352 #if __has_attribute(nonnull)
/external/clang/test/CodeGenCXX/
Dtype_visibility.cpp17 #if !__has_attribute(type_visibility)
/external/clang/test/ARCMT/
Dobjcmt-ns-returns-inner-pointer.m35 #if __has_attribute(ns_returns_autoreleased)
Dobjcmt-migrate-all.m36 #if __has_attribute(ns_returns_autoreleased)
Dobjcmt-migrate-all.m.result36 #if __has_attribute(ns_returns_autoreleased)
Dobjcmt-ns-returns-inner-pointer.m.result35 #if __has_attribute(ns_returns_autoreleased)
/external/libcxx/include/
D__config175 #ifndef __has_attribute
176 #define __has_attribute(__x) 0
188 # if __has_attribute(__type_visibility__)
/external/clang/test/SemaObjC/
Dsuper-dealloc-attribute.m7 #if __has_attribute(objc_requires_super)
Ddefault-synthesize-3.m4 #if __has_attribute(objc_requires_property_definitions)
/external/clang/docs/
DAttributeReference.rst317 Query for this feature with ``__has_attribute(enable_if)``.
526 Query for this feature with ``__has_attribute(objc_method_family)``.
977 You can detect support for these attributes with ``__has_attribute()``. For
982 #if defined(__has_attribute)
983 # if __has_attribute(argument_with_type_tag) && \
984 __has_attribute(pointer_with_type_tag) && \
985 __has_attribute(type_tag_for_datatype)
DLanguageExtensions.rst142 ``__has_attribute``
151 #ifndef __has_attribute // Optional of course.
152 #define __has_attribute(x) 0 // Compatibility with non-clang compilers.
156 #if __has_attribute(always_inline)
1269 Query for these features with ``__has_attribute(ns_consumed)``,
1270 ``__has_attribute(ns_returns_retained)``, etc.
/external/clang/include/clang/Basic/
DAttrDocs.td257 Query for this feature with ``__has_attribute(enable_if)``.
368 Query for this feature with ``__has_attribute(objc_method_family)``.
972 You can detect support for these attributes with ``__has_attribute()``. For
977 #if defined(__has_attribute)
978 # if __has_attribute(argument_with_type_tag) && \
979 __has_attribute(pointer_with_type_tag) && \
980 __has_attribute(type_tag_for_datatype)
/external/llvm/docs/TableGen/
DBackEnds.rst283 ``__has_attribute`` feature test macro.

12