Home
last modified time | relevance | path

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

12345678

/llvm-project-15.0.7/clang/test/Lexer/
H A Dhas_feature_cxx0x.cpp7 #if __has_feature(cxx_atomic)
18 #if __has_feature(cxx_lambdas)
30 #if __has_feature(cxx_nullptr)
42 #if __has_feature(cxx_decltype)
66 #if __has_feature(cxx_auto_type)
90 #if __has_feature(cxx_attributes)
171 #if __has_feature(cxx_range_for)
205 #if __has_feature(cxx_noexcept)
249 #if __has_feature(cxx_alignas)
260 #if __has_feature(cxx_alignof)
[all …]
H A Dhas_feature_type_traits.cpp3 #if __has_feature(has_nothrow_assign)
8 #if __has_feature(has_nothrow_copy)
43 #if __has_feature(is_abstract)
48 #if __has_feature(is_base_of)
53 #if __has_feature(is_class)
68 #if __has_feature(is_empty)
73 #if __has_feature(is_enum)
78 #if __has_feature(is_final)
83 #if __has_feature(is_pod)
93 #if __has_feature(is_union)
[all …]
H A 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)
/llvm-project-15.0.7/clang/lib/Headers/
H A Dimmintrin.h19 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
24 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
29 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
34 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
39 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
44 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
49 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
54 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
59 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
64 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
[all …]
H A Dx86intrin.h17 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
22 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
27 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
32 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
37 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
42 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
47 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
52 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
57 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
62 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
H A Dstddef.h18 #if !__has_feature(modules)
30 #if !defined(_PTRDIFF_T) || __has_feature(modules)
32 #if !__has_feature(modules)
41 #if !defined(_SIZE_T) || __has_feature(modules)
43 #if !__has_feature(modules)
55 !defined(_RSIZE_T)) || __has_feature(modules)
57 #if !__has_feature(modules)
67 #if !defined(_WCHAR_T) || __has_feature(modules)
68 #if !__has_feature(modules)
112 #if !defined(_WINT_T) || __has_feature(modules)
[all …]
H A Dx86gprintrin.h13 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
18 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
23 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dfeature_tests.c3 #ifndef __has_feature
4 #error Should have __has_feature
8 #if __has_feature(something_we_dont_have)
18 !__has_feature(attribute_analyzer_noreturn) || \
19 !__has_feature(attribute_overloadable)
44 #if !__has_feature(__attribute_deprecated_with_message__)
62 #if __has_builtin(MY_ALIAS_BUILTIN) || __has_feature(MY_ALIAS_FEATURE)
69 #define HAS_FEATURE(X) __has_feature(X)
77 #if __has_feature('x')
H A Dfeature_tests.cpp4 #ifndef __has_feature
5 #error Should have __has_feature
8 #if __has_feature(something_we_dont_have)
18 !__has_feature(attribute_analyzer_noreturn) || \
19 !__has_feature(attribute_overloadable)
H A 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)
H A Dnon_fragile_feature1.m2 #ifndef __has_feature
3 #error Should have __has_feature
6 #if __has_feature(objc_nonfragile_abi)
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/
H A Dsanitizer_specific.h4 #ifndef __has_feature
5 # define __has_feature(x) 0 macro
8 #if __has_feature(memory_sanitizer)
13 #elif __has_feature(address_sanitizer)
/llvm-project-15.0.7/clang/test/Analysis/
H A Darc-zero-init.m4 #if __has_feature(objc_arc)
14 #if !__has_feature(objc_arc)
23 #if !__has_feature(objc_arc)
33 #if !__has_feature(objc_arc)
43 #if !__has_feature(objc_arc)
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A Dbit.h29 #if (__has_feature(is_trivially_constructible) && defined(_LIBCPP_VERSION)) || \
33 #elif __has_feature(is_trivially_constructible)
39 #if (__has_feature(is_trivially_copyable) && defined(_LIBCPP_VERSION)) || \
44 #elif __has_feature(is_trivially_copyable)
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp7.cpp23 #if __has_feature(cxx_trailing_return) in g()
34 #if __has_feature(cxx_decltype) in g()
39 #if __has_feature(cxx_trailing_return)
61 #if __has_feature(cxx_decltype) in h()
/llvm-project-15.0.7/clang/test/ARCMT/
H A 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)
H A 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)
H A 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)
H A 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)
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dinternal_macros.h11 #ifndef __has_feature
12 #define __has_feature(x) 0 macro
33 #if __has_feature(cxx_attributes)
89 #if !__has_feature(cxx_exceptions) && !defined(__cpp_exceptions) \
/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DMsan.h20 #ifndef __has_feature
21 #define __has_feature(x) 0 macro
24 #if __has_feature(memory_sanitizer) && !defined(MLIR_MEMORY_SANITIZER)
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DDeprecated.h18 #ifndef __has_feature
19 # define __has_feature(x) 0 macro
24 #if __has_feature(attribute_deprecated_with_message)
/llvm-project-15.0.7/clang/tools/libclang/
H A DIndex_Internal.h18 #ifndef __has_feature
19 #define __has_feature(x) 0 macro
22 #if __has_feature(blocks)
/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/TypeCheck/
H A Dvptr-corrupted-vtable-itanium.cpp9 #if __has_feature(ptrauth_calls)
31 #if __has_feature(ptrauth_calls) in main()
42 #if __has_feature(ptrauth_calls) in main()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCompiler.h26 #ifndef __has_feature
27 # define __has_feature(x) 0 macro
401 #if __has_feature(memory_sanitizer)
414 #if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
438 #if __has_feature(thread_sanitizer) || defined(__SANITIZE_THREAD__)
524 #if __has_feature(cxx_thread_local) || defined(_MSC_VER)
539 #if __has_feature(cxx_exceptions)

12345678