Home
last modified time | relevance | path

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

123

/external/clang/test/Lexer/
Dhas_feature_cxx0x.cpp4 #if __has_feature(cxx_atomic)
13 #if __has_feature(cxx_lambdas)
23 #if __has_feature(cxx_nullptr)
33 #if __has_feature(cxx_decltype)
43 #if __has_feature(cxx_decltype_incomplete_return_types)
53 #if __has_feature(cxx_auto_type)
63 #if __has_feature(cxx_trailing_return)
73 #if __has_feature(cxx_attributes)
83 #if __has_feature(cxx_static_assert)
92 #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)
Dhas_feature_objc_arc.m4 #if __has_feature(objc_arc)
10 #if __has_feature(objc_arc_weak)
Dhas_feature_modules.m9 #if __has_feature(modules)
18 #if __has_feature(objc_modules)
/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/llvm/include/llvm/Support/
DCompiler.h20 #ifndef __has_feature
21 # define __has_feature(x) 0 macro
27 #if (__has_feature(cxx_rvalue_references) \
41 #if __has_feature(cxx_rvalue_references)
78 #if __has_feature(cxx_variadic_templates)
113 #if (__has_feature(cxx_deleted_functions) \
123 #if __has_feature(cxx_override_control) \
132 #if __has_feature(cxx_override_control) \
139 #if __has_feature(cxx_constexpr) || defined(__GXX_EXPERIMENTAL_CXX0X__)
253 #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)
221 #undef __has_feature
/external/webkit/Source/JavaScriptCore/wtf/
DNullPtr.h34 #ifndef __has_feature
35 #define __has_feature(feature) 0 macro
38 #if __has_feature(cxx_nullptr) || (defined(_MSC_VER) && _MSC_VER >= 1600)
DNoncopyable.h24 #ifndef __has_feature
25 #define __has_feature(x) 0 macro
28 #if __has_feature(cxx_deleted_functions)
/external/clang/tools/libclang/
DIndex_Internal.h19 #ifndef __has_feature
20 #define __has_feature(x) 0 macro
23 #if __has_feature(blocks)
/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/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/compiler-rt/include/sanitizer/
Dcommon_interface_defs.h20 #if !defined(__has_feature)
21 # define __has_feature(x) 0 macro
/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()
/external/clang/docs/
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
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 …]
DAddressSanitizer.rst92 ``__has_feature(address_sanitizer)``
97 :ref:`\_\_has\_feature <langext-__has_feature-__has_extension>` can be used for
102 #if defined(__has_feature)
103 # if __has_feature(address_sanitizer)
117 ``__has_feature(address_sanitizer)``. Note: currently, this attribute will be
/external/clang/test/CodeGenObjC/
Dobjc-container-subscripting.m7 #if __has_feature(objc_subscripting)
13 #if __has_feature(objc_subscripting)
Dobjc-literal-tests.m5 #if __has_feature(objc_bool)
25 #if __has_feature(objc_array_literals)
48 #if __has_feature(objc_dictionary_literals)
/external/clang/test/Rewriter/
Dobjc-modern-container-subscript.mm12 #if __has_feature(objc_subscripting)
18 #if __has_feature(objc_subscripting)
/external/skia/include/core/
DSkPostConfig.h59 #if defined(__has_feature)
60 #define SK_HAS_COMPILER_FEATURE(x) __has_feature(x)
306 #if __has_feature(cxx_override_control)

123