Home
last modified time | relevance | path

Searched refs:__has_attribute (Results 1 – 25 of 31) 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)
/external/llvm/include/llvm/Support/
DCompiler.h28 #ifndef __has_attribute
29 # define __has_attribute(x) 0 macro
131 #if (__has_attribute(visibility) || __GNUC_PREREQ(4, 0)) && \
138 #if __has_attribute(used) || __GNUC_PREREQ(3, 1)
144 #if __has_attribute(warn_unused_result) || __GNUC_PREREQ(3, 4)
158 #if __has_attribute(unused) || __GNUC_PREREQ(3, 1)
165 #if (__has_attribute(weak) || __GNUC_PREREQ(4, 0)) && \
181 #if __has_attribute(pure) || defined(__GNUC__)
211 #if __has_attribute(noinline) || __GNUC_PREREQ(3, 4)
223 #if __has_attribute(always_inline) || __GNUC_PREREQ(4, 0)
/external/chromium_org/v8/include/
Dv8config.h200 # define V8_HAS_ATTRIBUTE_ALIGNED (__has_attribute(aligned))
201 # define V8_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline))
202 # define V8_HAS_ATTRIBUTE_DEPRECATED (__has_attribute(deprecated))
203 # define V8_HAS_ATTRIBUTE_NOINLINE (__has_attribute(noinline))
204 # define V8_HAS_ATTRIBUTE_UNUSED (__has_attribute(unused))
205 # define V8_HAS_ATTRIBUTE_VISIBILITY (__has_attribute(visibility))
207 (__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-memory.cpp5 #if !__has_attribute(no_sanitize_memory)
Dattr-no-sanitize-address.cpp5 #if !__has_attribute(no_sanitize_address)
Dattr-no-sanitize-thread.cpp5 #if !__has_attribute(no_sanitize_thread)
/external/libpng/
Dpngconf.h366 # if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
369 # if !defined(PNG_NORETURN) && __has_attribute(__noreturn__)
372 # if !defined(PNG_ALLOCATED) && __has_attribute(__malloc__)
375 # if !defined(PNG_DEPRECATED) && __has_attribute(__deprecated__)
/external/icu/icu4c/source/common/unicode/
Dplatform.h425 #ifndef __has_attribute
426 # define __has_attribute(x) 0 macro
445 …GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || __has_attribute(alloc_size)
/external/skia/include/core/
DSkPreConfig.h243 #if defined(__has_attribute)
244 # define SK_HAS_ATTRIBUTE(x) __has_attribute(x)
/external/chromium_org/third_party/skia/include/core/
DSkPreConfig.h243 #if defined(__has_attribute)
244 # define SK_HAS_ATTRIBUTE(x) __has_attribute(x)
/external/clang/test/Sema/
Dattr-tls_model.c3 #if !__has_attribute(tls_model)
/external/clang/test/CodeGenCXX/
Dtype_visibility.cpp17 #if !__has_attribute(type_visibility)
/external/libcxx/include/
D__config164 #ifndef __has_attribute
165 #define __has_attribute(__x) 0
177 # if __has_attribute(__type_visibility__)
/external/clang/test/ARCMT/
Dobjcmt-migrate-all.m36 #if __has_attribute(ns_returns_autoreleased)
Dobjcmt-ns-returns-inner-pointer.m35 #if __has_attribute(ns_returns_autoreleased)
Dobjcmt-ns-returns-inner-pointer.m.result35 #if __has_attribute(ns_returns_autoreleased)
Dobjcmt-migrate-all.m.result36 #if __has_attribute(ns_returns_autoreleased)
/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/include/clang/Basic/
DAttrDocs.td217 Query for this feature with ``__has_attribute(enable_if)``.
328 Query for this feature with ``__has_attribute(objc_method_family)``.
746 You can detect support for these attributes with ``__has_attribute()``. For
751 #if defined(__has_attribute)
752 # if __has_attribute(argument_with_type_tag) && \
753 __has_attribute(pointer_with_type_tag) && \
754 __has_attribute(type_tag_for_datatype)
/external/clang/docs/
DAttributeReference.rst312 Query for this feature with ``__has_attribute(enable_if)``.
521 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)
DReleaseNotes.rst54 - The __has_attribute feature test is now target-aware. Older versions of Clang
DLanguageExtensions.rst112 ``__has_attribute``
121 #ifndef __has_attribute // Optional of course.
122 #define __has_attribute(x) 0 // Compatibility with non-clang compilers.
126 #if __has_attribute(always_inline)
1171 Query for these features with ``__has_attribute(ns_consumed)``,
1172 ``__has_attribute(ns_returns_retained)``, etc.
/external/chromium_org/third_party/qcms/
Dgoogle.patch870 + * attributes. Don't use this on ARM or AMD64. __has_attribute can detect the presence
872 +#if defined(__has_attribute)
873 +#define HAS_FORCE_ALIGN_ARG_POINTER __has_attribute(__force_align_arg_pointer__)

12