Lines Matching refs:__has_extension
58 .. _langext-__has_feature-__has_extension:
60 ``__has_feature`` and ``__has_extension``
67 ``__has_extension`` evaluates to 1 if the feature is supported by Clang in the
76 #ifndef __has_extension
77 #define __has_extension __has_feature // Compatibility with pre-3.0 compilers.
86 #if __has_extension(cxx_rvalue_references)
102 If the ``-pedantic-errors`` option is given, ``__has_extension`` is equivalent
357 Query for this feature with ``__has_extension(attribute_ext_vector_type)``.
460 ``__has_extension(attribute_deprecated_with_message)`` and
461 ``__has_extension(attribute_unavailable_with_message)``.
481 Query for this feature with ``__has_extension(enumerator_attributes)``.
514 features are enabled. The ``__has_extension`` macro can be used to query if
555 ``__has_extension(cxx_access_control_sfinae)`` to determine whether
564 ``__has_extension(cxx_alias_templates)`` to determine if support for C++11's
570 Use ``__has_feature(cxx_alignas)`` or ``__has_extension(cxx_alignas)`` to
573 Use ``__has_feature(cxx_alignof)`` or ``__has_extension(cxx_alignof)`` to
579 Use ``__has_feature(cxx_attributes)`` or ``__has_extension(cxx_attributes)`` to
592 Use ``__has_feature(cxx_decltype)`` or ``__has_extension(cxx_decltype)`` to
596 ``__has_extension(cxx_decltype_incomplete_return_types)`` to determine if
603 ``__has_extension(cxx_default_function_template_args)`` to determine if support
610 ``__has_extension(cxx_defaulted_functions)`` to determine if support for
623 ``__has_extension(cxx_deleted_functions)`` to determine if support for deleted
655 ``__has_extension(cxx_inline_namespaces)`` to determine if support for inline
661 Use ``__has_feature(cxx_lambdas)`` or ``__has_extension(cxx_lambdas)`` to
668 ``__has_extension(cxx_local_type_template_args)`` to determine if support for
674 Use ``__has_feature(cxx_noexcept)`` or ``__has_extension(cxx_noexcept)`` to
686 Use ``__has_feature(cxx_nullptr)`` or ``__has_extension(cxx_nullptr)`` to
693 ``__has_extension(cxx_override_control)`` to determine if support for the
700 ``__has_extension(cxx_reference_qualified_functions)`` to determine if support
707 Use ``__has_feature(cxx_range_for)`` or ``__has_extension(cxx_range_for)`` to
720 ``__has_extension(cxx_rvalue_references)`` to determine if support for rvalue
727 ``__has_extension(cxx_static_assert)`` to determine if support for compile-time
739 Use ``__has_feature(cxx_auto_type)`` or ``__has_extension(cxx_auto_type)`` to
748 ``__has_extension(cxx_strong_enums)`` to determine if support for strongly
755 ``__has_extension(cxx_trailing_return)`` to determine if support for the
780 ``__has_extension(cxx_variadic_templates)`` to determine if support for
794 ``__has_extension(cxx_binary_literals)`` to determine whether
802 ``__has_extension(cxx_contextual_conversions)`` to determine if the C++1y rules
811 ``__has_extension(cxx_decltype_auto)`` to determine if support
818 ``__has_extension(cxx_aggregate_nsdmi)`` to determine if support
832 ``__has_extension(cxx_init_captures)`` to determine if support for
840 ``__has_extension(cxx_generic_lambdas)`` to determine if support for generic
848 ``__has_extension(cxx_relaxed_constexpr)`` to determine if variable
856 ``__has_extension(cxx_return_type_deduction)`` to determine if support
864 ``__has_extension(cxx_runtime_array)`` to determine if support
873 ``__has_extension(cxx_variable_templates)`` to determine if support for
887 Use ``__has_feature(c_alignas)`` or ``__has_extension(c_alignas)`` to determine
890 Use ``__has_feature(c_alignof)`` or ``__has_extension(c_alignof)`` to determine
896 Use ``__has_feature(c_atomic)`` or ``__has_extension(c_atomic)`` to determine
914 ``__has_extension(c_generic_selections)`` to determine if support for generic
928 Use ``__has_feature(c_static_assert)`` or ``__has_extension(c_static_assert)``
935 Use ``__has_feature(c_thread_local)`` or ``__has_extension(c_thread_local)``
970 For type trait ``__X``, ``__has_extension(X)`` indicates the presence of the
976 #if __has_extension(is_convertible_to)
1034 Query for this feature with ``__has_extension(blocks)``.