Searched refs:__has_attribute (Results 1 – 25 of 30) sorted by relevance
12
/external/clang/test/Preprocessor/ |
D | has_attribute.c | 4 #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/ |
D | Compiler.h | 28 #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/ |
D | v8config.h | 205 # 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/ |
D | warn-thread-safety-parsing.cpp | 99 #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 …]
|
D | attr-no-sanitize-address.cpp | 5 #if !__has_attribute(no_sanitize_address)
|
D | attr-no-sanitize-thread.cpp | 5 #if !__has_attribute(no_sanitize_thread)
|
D | attr-no-sanitize-memory.cpp | 5 #if !__has_attribute(no_sanitize_memory)
|
/external/libpng/ |
D | pngconf.h | 342 # 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/ |
D | deDefs.hpp | 113 #if (DE_COMPILER == DE_COMPILER_CLANG) && defined(__has_attribute) 114 # if __has_attribute(warn_unused)
|
/external/icu/icu4c/source/common/unicode/ |
D | platform.h | 429 #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/ |
D | SkPreConfig.h | 250 #if defined(__has_attribute) 251 # define SK_HAS_ATTRIBUTE(x) __has_attribute(x)
|
/external/clang/test/Sema/ |
D | attr-tls_model.c | 3 #if !__has_attribute(tls_model)
|
/external/google-breakpad/src/common/mac/ |
D | GTMDefines.h | 351 #if defined(__has_attribute) 352 #if __has_attribute(nonnull)
|
/external/clang/test/CodeGenCXX/ |
D | type_visibility.cpp | 17 #if !__has_attribute(type_visibility)
|
/external/clang/test/ARCMT/ |
D | objcmt-ns-returns-inner-pointer.m | 35 #if __has_attribute(ns_returns_autoreleased)
|
D | objcmt-migrate-all.m | 36 #if __has_attribute(ns_returns_autoreleased)
|
D | objcmt-migrate-all.m.result | 36 #if __has_attribute(ns_returns_autoreleased)
|
D | objcmt-ns-returns-inner-pointer.m.result | 35 #if __has_attribute(ns_returns_autoreleased)
|
/external/libcxx/include/ |
D | __config | 175 #ifndef __has_attribute 176 #define __has_attribute(__x) 0 188 # if __has_attribute(__type_visibility__)
|
/external/clang/test/SemaObjC/ |
D | super-dealloc-attribute.m | 7 #if __has_attribute(objc_requires_super)
|
D | default-synthesize-3.m | 4 #if __has_attribute(objc_requires_property_definitions)
|
/external/clang/docs/ |
D | AttributeReference.rst | 317 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)
|
D | LanguageExtensions.rst | 142 ``__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/ |
D | AttrDocs.td | 257 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/ |
D | BackEnds.rst | 283 ``__has_attribute`` feature test macro.
|
12