Home
last modified time | relevance | path

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

12345

/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.c4 #if __has_feature(c_atomic)
13 #if __has_feature(c_static_assert)
22 #if __has_feature(c_generic_selections)
31 #if __has_feature(c_alignas)
40 #if __has_feature(c_thread_local)
Dhas_feature_objc_arc.m4 #if __has_feature(objc_arc)
10 #if __has_feature(objc_arc_weak)
/external/clang/lib/Headers/
Dstddef.h29 #if !defined(_PTRDIFF_T) || __has_feature(modules)
31 #if !__has_feature(modules)
37 #if !defined(_SIZE_T) || __has_feature(modules)
39 #if !__has_feature(modules)
48 !defined(_RSIZE_T)) || __has_feature(modules)
50 #if !__has_feature(modules)
58 #if !defined(_WCHAR_T) || __has_feature(modules)
59 #if !__has_feature(modules)
95 #if !defined(_WINT_T) || __has_feature(modules)
96 #if !__has_feature(modules)
/external/llvm/include/llvm/Support/
DCompiler.h20 #ifndef __has_feature
21 # define __has_feature(x) 0 macro
46 #if (__has_feature(cxx_rvalue_references) \
60 #if __has_feature(cxx_rvalue_references)
97 #if __has_feature(cxx_variadic_templates)
132 #if (__has_feature(cxx_deleted_functions) \
142 #if __has_feature(cxx_override_control) \
151 #if __has_feature(cxx_override_control) \
158 #if __has_feature(cxx_constexpr) || defined(__GXX_EXPERIMENTAL_CXX0X__)
280 #if __has_feature(attribute_deprecated_with_message)
[all …]
Dtype_traits.h24 #ifndef __has_feature
26 #define __has_feature(x) 0 macro
67 #if __has_feature(is_trivially_copyable)
241 #undef __has_feature
/external/clang/test/Preprocessor/
Dfeature_tests.c3 #ifndef __has_feature
4 #error Should have __has_feature
8 #if __has_feature(something_we_dont_have)
16 !__has_feature(attribute_analyzer_noreturn) || \
17 !__has_feature(attribute_overloadable)
25 #if !__has_feature(__attribute_deprecated_with_message__)
43 #if __has_builtin(MY_ALIAS_BUILTIN) || __has_feature(MY_ALIAS_FEATURE)
50 #define HAS_FEATURE(X) __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/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/chromium_org/v8/src/
Dmsan.h33 #ifndef __has_feature
34 # define __has_feature(x) 0 macro
37 #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/chromium_org/third_party/libjingle/source/talk/media/devices/
Dmacdevicemanagermm.mm29 #ifndef __has_feature
30 # define __has_feature(x) 0 macro
67 #if !__has_feature(objc_arc)
81 #if !__has_feature(objc_arc)
89 #if !__has_feature(objc_arc)
96 #if !__has_feature(objc_arc)
104 #if !__has_feature(objc_arc)
134 #if !__has_feature(objc_arc)
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_test_utils.h35 #if !defined(__has_feature)
36 #define __has_feature(x) 0 macro
40 # if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
/external/chromium_org/third_party/skia/src/sfnt/
DSkTypedEnum.h14 #ifndef __has_feature
15 #define __has_feature(x) 0 macro
18 #define __has_extension __has_feature
/external/skia/src/sfnt/
DSkTypedEnum.h14 #ifndef __has_feature
15 #define __has_feature(x) 0 macro
18 #define __has_extension __has_feature
/external/clang/test/SemaObjC/
Ddefault-synthesize.m13 #if !__has_feature(objc_default_synthesize_properties)
25 #if !__has_feature(objc_default_synthesize_properties)
47 #if !__has_feature(objc_default_synthesize_properties)
70 #if !__has_feature(objc_default_synthesize_properties)
123 #if __has_feature(objc_default_synthesize_properties)
/external/chromium_org/v8/include/
Dv8config.h227 # define V8_HAS_CXX11_ALIGNAS (__has_feature(cxx_alignas))
228 # define V8_HAS_CXX11_STATIC_ASSERT (__has_feature(cxx_static_assert))
229 # define V8_HAS_CXX11_DELETE (__has_feature(cxx_deleted_functions))
230 # define V8_HAS_CXX11_FINAL (__has_feature(cxx_override_control))
231 # define V8_HAS_CXX11_OVERRIDE (__has_feature(cxx_override_control))
/external/compiler-rt/include/sanitizer/
Dcommon_interface_defs.h20 #if !defined(__has_feature)
21 # define __has_feature(x) 0 macro
/external/chromium_org/third_party/libjingle/source/talk/base/
Dthread.cc30 #ifndef __has_feature
31 #define __has_feature(x) 0 // Compatibility with non-clang or LLVM compilers. macro
45 #if !__has_feature(objc_arc) && (defined(OSX) || defined(IOS))
68 #if !__has_feature(objc_arc) && (defined(OSX) || defined(IOS)) in ThreadManager()
78 #if __has_feature(objc_arc) in ~ThreadManager()
343 #if __has_feature(objc_arc) in PreRun()
492 #if __has_feature(objc_arc) in ProcessMessages()
/external/clang/docs/
DLanguageExtensions.rst58 .. _langext-__has_feature-__has_extension:
60 ``__has_feature`` and ``__has_extension``
64 of a feature. ``__has_feature`` evaluates to 1 if the feature is both
73 #ifndef __has_feature // Optional of course.
74 #define __has_feature(x) 0 // Compatibility with non-clang compilers.
77 #define __has_extension __has_feature // Compatibility with pre-3.0 compilers.
81 #if __has_feature(cxx_rvalue_references)
94 For backwards compatibility reasons, ``__has_feature`` can also be used to test
98 Another use of ``__has_feature`` is to check for compiler features not related
103 to ``__has_feature``.
[all …]
DThreadSanitizer.rst71 ``__has_feature(thread_sanitizer)``
76 :ref:`\_\_has\_feature <langext-__has_feature-__has_extension>` can be used for
81 #if defined(__has_feature)
82 # if __has_feature(thread_sanitizer)
97 ``__has_feature(thread_sanitizer)``. Note: currently, this attribute will be
/external/chromium_org/third_party/WebKit/Source/wtf/
DCompiler.h55 #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR __has_feature(cxx_nullptr)
56 #define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS __has_feature(cxx_explicit_conversions)
57 #define WTF_COMPILER_SUPPORTS_BLOCKS __has_feature(blocks)
/external/clang/test/CodeGenObjC/
Dobjc-container-subscripting.m7 #if __has_feature(objc_subscripting)
13 #if __has_feature(objc_subscripting)

12345