Home
last modified time | relevance | path

Searched refs:__has_feature (Results 1 – 25 of 237) sorted by relevance

12345678910

/external/clang/test/Lexer/
Dhas_feature_cxx0x.cpp6 #if __has_feature(cxx_atomic)
16 #if __has_feature(cxx_lambdas)
27 #if __has_feature(cxx_nullptr)
38 #if __has_feature(cxx_decltype)
49 #if __has_feature(cxx_decltype_incomplete_return_types)
60 #if __has_feature(cxx_auto_type)
71 #if __has_feature(cxx_trailing_return)
82 #if __has_feature(cxx_attributes)
93 #if __has_feature(cxx_static_assert)
103 #if __has_feature(cxx_deleted_functions)
[all …]
Dhas_feature_type_traits.cpp3 #if __has_feature(has_nothrow_assign)
8 #if __has_feature(has_nothrow_copy)
13 #if __has_feature(has_nothrow_constructor)
18 #if __has_feature(has_trivial_assign)
23 #if __has_feature(has_trivial_copy)
28 #if __has_feature(has_trivial_constructor)
33 #if __has_feature(has_trivial_destructor)
38 #if __has_feature(has_virtual_destructor)
43 #if __has_feature(is_abstract)
48 #if __has_feature(is_base_of)
[all …]
Dhas_feature_c1x.c10 #if __has_feature(c_atomic)
18 #if __has_feature(c_static_assert)
26 #if __has_feature(c_generic_selections)
34 #if __has_feature(c_alignas)
42 #if __has_feature(c_alignof)
50 #if __has_feature(c_thread_local)
/external/clang/lib/Headers/
Dstddef.h34 #if !__has_feature(modules)
46 #if !defined(_PTRDIFF_T) || __has_feature(modules)
48 #if !__has_feature(modules)
57 #if !defined(_SIZE_T) || __has_feature(modules)
59 #if !__has_feature(modules)
71 !defined(_RSIZE_T)) || __has_feature(modules)
73 #if !__has_feature(modules)
83 #if !defined(_WCHAR_T) || __has_feature(modules)
84 #if !__has_feature(modules)
128 #if !defined(_WINT_T) || __has_feature(modules)
[all …]
/external/clang/test/Preprocessor/
Dfeature_tests.c3 #ifndef __has_feature
4 #error Should have __has_feature
8 #if __has_feature(something_we_dont_have)
17 !__has_feature(attribute_analyzer_noreturn) || \
18 !__has_feature(attribute_overloadable)
26 #if !__has_feature(__attribute_deprecated_with_message__)
44 #if __has_builtin(MY_ALIAS_BUILTIN) || __has_feature(MY_ALIAS_FEATURE)
51 #define HAS_FEATURE(X) __has_feature(X)
60 #if __has_feature('x')
Dnon_fragile_feature.m2 #ifndef __has_feature
3 #error Should have __has_feature
6 #if !__has_feature(objc_nonfragile_abi)
10 #if !__has_feature(objc_weak_class)
Dnon_fragile_feature1.m2 #ifndef __has_feature
3 #error Should have __has_feature
6 #if __has_feature(objc_nonfragile_abi)
/external/libcxxabi/src/
Dcxa_new_delete.cpp37 #if !__has_feature(cxx_noexcept) in operator new()
70 #if __has_feature(cxx_noexcept) in operator new()
95 #if !__has_feature(cxx_noexcept) in operator new[]()
111 #if __has_feature(cxx_noexcept) in operator new[]()
137 #if __has_feature(cxx_noexcept) in operator delete()
155 #if __has_feature(cxx_noexcept) in operator delete()
172 #if __has_feature(cxx_noexcept) in operator delete[]()
189 #if __has_feature(cxx_noexcept) in operator delete[]()
/external/google-breakpad/src/common/mac/
DGTMDefines.h270 #ifndef __has_feature // Optional.
271 #define __has_feature(x) 0 // Compatibility with non-clang compilers. macro
275 #if __has_feature(attribute_ns_returns_retained)
283 #if __has_feature(attribute_ns_returns_not_retained)
291 #if __has_feature(attribute_cf_returns_retained)
299 #if __has_feature(attribute_cf_returns_not_retained)
307 #if __has_feature(attribute_ns_consumed)
315 #if __has_feature(attribute_cf_consumed)
323 #if __has_feature(attribute_ns_consumes_self)
364 #if __has_feature(objc_arc)
[all …]
/external/libcxx/include/
D__config222 #if __has_feature(cxx_alignas)
230 #if !__has_feature(cxx_alias_templates)
239 #if !(__has_feature(cxx_exceptions))
243 #if !(__has_feature(cxx_rtti))
247 #if !(__has_feature(cxx_strong_enums))
251 #if !(__has_feature(cxx_decltype))
255 #if __has_feature(cxx_attributes)
263 #if !(__has_feature(cxx_defaulted_functions))
265 #endif // !(__has_feature(cxx_defaulted_functions))
267 #if !(__has_feature(cxx_deleted_functions))
[all …]
/external/llvm/include/llvm/Support/
DCompiler.h20 #ifndef __has_feature
21 # define __has_feature(x) 0 macro
79 #if __has_feature(cxx_rvalue_references) || LLVM_GNUC_PREREQ(4, 8, 1)
95 #if __has_feature(cxx_constexpr) || defined(__GXX_EXPERIMENTAL_CXX0X__)
245 #if __has_feature(attribute_deprecated_with_message)
303 #elif __GNUC__ && !__has_feature(cxx_alignas) && !LLVM_GNUC_PREREQ(4, 8, 0)
336 #if __has_feature(memory_sanitizer)
347 #if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
388 #if __has_feature(cxx_thread_local)
Dtype_traits.h20 #ifndef __has_feature
22 #define __has_feature(x) 0 macro
33 #if (__has_feature(is_trivially_copyable) && defined(_LIBCPP_VERSION)) || \
38 #elif __has_feature(is_trivially_copyable)
97 #undef __has_feature
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
Dp7.cpp23 #if __has_feature(cxx_trailing_return) in g()
28 #if __has_feature(cxx_trailing_return) in g()
33 #if __has_feature(cxx_decltype) in g()
40 #if __has_feature(cxx_decltype) in h()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_nothrow_destructible.pass.cpp72 #if __has_feature(cxx_noexcept) in main()
76 #if __has_feature(cxx_unrestricted_unions) in main()
79 #if __has_feature(cxx_access_control_sfinae) in main()
88 #if __has_feature(cxx_noexcept) in main()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dopen_memstream.cc10 #ifndef __has_feature
11 #define __has_feature(x) 0 macro
14 #if __has_feature(memory_sanitizer)
19 #elif __has_feature(address_sanitizer)
/external/clang/test/ARCMT/
Dobjcmt-ns-returns-inner-pointer.m14 #if __has_feature(attribute_ns_returns_retained)
17 #if __has_feature(attribute_cf_returns_retained)
20 #if __has_feature(attribute_ns_returns_not_retained)
23 #if __has_feature(attribute_cf_returns_not_retained)
26 #if __has_feature(attribute_ns_consumes_self)
29 #if __has_feature(attribute_ns_consumed)
32 #if __has_feature(attribute_cf_consumed)
Dobjcmt-migrate-all.m15 #if __has_feature(attribute_ns_returns_retained)
18 #if __has_feature(attribute_cf_returns_retained)
21 #if __has_feature(attribute_ns_returns_not_retained)
24 #if __has_feature(attribute_cf_returns_not_retained)
27 #if __has_feature(attribute_ns_consumes_self)
30 #if __has_feature(attribute_ns_consumed)
33 #if __has_feature(attribute_cf_consumed)
Dobjcmt-migrate-all.m.result15 #if __has_feature(attribute_ns_returns_retained)
18 #if __has_feature(attribute_cf_returns_retained)
21 #if __has_feature(attribute_ns_returns_not_retained)
24 #if __has_feature(attribute_cf_returns_not_retained)
27 #if __has_feature(attribute_ns_consumes_self)
30 #if __has_feature(attribute_ns_consumed)
33 #if __has_feature(attribute_cf_consumed)
Dobjcmt-ns-returns-inner-pointer.m.result14 #if __has_feature(attribute_ns_returns_retained)
17 #if __has_feature(attribute_cf_returns_retained)
20 #if __has_feature(attribute_ns_returns_not_retained)
23 #if __has_feature(attribute_cf_returns_not_retained)
26 #if __has_feature(attribute_ns_consumes_self)
29 #if __has_feature(attribute_ns_consumed)
32 #if __has_feature(attribute_cf_consumed)
/external/v8/src/
Dmsan.h12 #ifndef __has_feature
13 # define __has_feature(x) 0 macro
16 #if __has_feature(memory_sanitizer) && !defined(MEMORY_SANITIZER)
/external/clang/tools/libclang/
DIndex_Internal.h19 #ifndef __has_feature
20 #define __has_feature(x) 0 macro
23 #if __has_feature(blocks)
/external/libcxx/test/support/
Dcount_new.hpp8 #ifndef __has_feature
9 # define __has_feature(x) 0 macro
12 #if __has_feature(address_sanitizer) \
13 || __has_feature(memory_sanitizer)
/external/skia/src/sfnt/
DSkTypedEnum.h14 #ifndef __has_feature
15 #define __has_feature(x) 0 macro
18 #define __has_extension __has_feature
/external/boringssl/src/crypto/test/
Dmalloc.cc17 #if defined(__has_feature)
18 #if __has_feature(address_sanitizer) || __has_feature(memory_sanitizer)
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_test_utils.h48 #if !defined(__has_feature)
49 #define __has_feature(x) 0 macro
53 # if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)

12345678910