Lines Matching refs:__has_extension

69 .. _langext-__has_feature-__has_extension:
71 ``__has_feature`` and ``__has_extension``
78 ``__has_extension`` evaluates to 1 if the feature is supported by Clang in the
87 #ifndef __has_extension
88 #define __has_extension __has_feature // Compatibility with pre-3.0 compilers.
97 #if __has_extension(cxx_rvalue_references)
113 If the ``-pedantic-errors`` option is given, ``__has_extension`` is equivalent
599 ``__has_extension(attribute_deprecated_with_message)`` and
600 ``__has_extension(attribute_unavailable_with_message)``.
620 Query for this feature with ``__has_extension(enumerator_attributes)``.
653 features are enabled. The ``__has_extension`` macro can be used to query if
694 ``__has_extension(cxx_access_control_sfinae)`` to determine whether
703 ``__has_extension(cxx_alias_templates)`` to determine if support for C++11's
709 Use ``__has_feature(cxx_alignas)`` or ``__has_extension(cxx_alignas)`` to
712 Use ``__has_feature(cxx_alignof)`` or ``__has_extension(cxx_alignof)`` to
718 Use ``__has_feature(cxx_attributes)`` or ``__has_extension(cxx_attributes)`` to
731 Use ``__has_feature(cxx_decltype)`` or ``__has_extension(cxx_decltype)`` to
735 ``__has_extension(cxx_decltype_incomplete_return_types)`` to determine if
742 ``__has_extension(cxx_default_function_template_args)`` to determine if support
749 ``__has_extension(cxx_defaulted_functions)`` to determine if support for
762 ``__has_extension(cxx_deleted_functions)`` to determine if support for deleted
794 ``__has_extension(cxx_inline_namespaces)`` to determine if support for inline
800 Use ``__has_feature(cxx_lambdas)`` or ``__has_extension(cxx_lambdas)`` to
807 ``__has_extension(cxx_local_type_template_args)`` to determine if support for
813 Use ``__has_feature(cxx_noexcept)`` or ``__has_extension(cxx_noexcept)`` to
825 Use ``__has_feature(cxx_nullptr)`` or ``__has_extension(cxx_nullptr)`` to
832 ``__has_extension(cxx_override_control)`` to determine if support for the
839 ``__has_extension(cxx_reference_qualified_functions)`` to determine if support
846 Use ``__has_feature(cxx_range_for)`` or ``__has_extension(cxx_range_for)`` to
859 ``__has_extension(cxx_rvalue_references)`` to determine if support for rvalue
866 ``__has_extension(cxx_static_assert)`` to determine if support for compile-time
878 Use ``__has_feature(cxx_auto_type)`` or ``__has_extension(cxx_auto_type)`` to
887 ``__has_extension(cxx_strong_enums)`` to determine if support for strongly
894 ``__has_extension(cxx_trailing_return)`` to determine if support for the
919 ``__has_extension(cxx_variadic_templates)`` to determine if support for
933 ``__has_extension(cxx_binary_literals)`` to determine whether
941 ``__has_extension(cxx_contextual_conversions)`` to determine if the C++14 rules
950 ``__has_extension(cxx_decltype_auto)`` to determine if support
957 ``__has_extension(cxx_aggregate_nsdmi)`` to determine if support
971 ``__has_extension(cxx_init_captures)`` to determine if support for
979 ``__has_extension(cxx_generic_lambdas)`` to determine if support for generic
987 ``__has_extension(cxx_relaxed_constexpr)`` to determine if variable
995 ``__has_extension(cxx_return_type_deduction)`` to determine if support
1003 ``__has_extension(cxx_runtime_array)`` to determine if support
1012 ``__has_extension(cxx_variable_templates)`` to determine if support for
1026 Use ``__has_feature(c_alignas)`` or ``__has_extension(c_alignas)`` to determine
1029 Use ``__has_feature(c_alignof)`` or ``__has_extension(c_alignof)`` to determine
1035 Use ``__has_feature(c_atomic)`` or ``__has_extension(c_atomic)`` to determine
1053 ``__has_extension(c_generic_selections)`` to determine if support for generic
1067 Use ``__has_feature(c_static_assert)`` or ``__has_extension(c_static_assert)``
1074 Use ``__has_feature(c_thread_local)`` or ``__has_extension(c_thread_local)``
1282 Query for this feature with ``__has_extension(blocks)``.
1310 Query for this feature with ``__has_extension(gnu_asm_goto_with_outputs)``.
3351 ``__has_extension(pragma_clang_attribute_namespaces)``.