@@ -138,7 +138,7 @@ for support for non-standardized features, i.e. features not prefixed ``c_``,
138
138
``cxx_ `` or ``objc_ ``.
139
139
140
140
Another use of ``__has_feature `` is to check for compiler features not related
141
- to the language standard, such as e.g. :doc: `AddressSanitizer
141
+ to the language standard, such as :doc: `AddressSanitizer
142
142
<AddressSanitizer>`.
143
143
144
144
If the ``-pedantic-errors `` option is given, ``__has_extension `` is equivalent
@@ -377,8 +377,8 @@ Builtin Macros
377
377
378
378
``__FILE_NAME__ ``
379
379
Clang-specific extension that functions similar to ``__FILE__ `` but only
380
- renders the last path component (the filename) instead of an invocation
381
- dependent full path to that file.
380
+ renders the last path component (the filename) instead of an
381
+ invocation- dependent full path to that file.
382
382
383
383
``__COUNTER__ ``
384
384
Defined to an integer value that starts at zero and is incremented each time
@@ -716,7 +716,7 @@ See also :ref:`langext-__builtin_shufflevector`, :ref:`langext-__builtin_convert
716
716
a NEON vector or an SVE vector, it's only available in C++ and uses normal bool
717
717
conversions (that is, != 0).
718
718
If it's an extension (OpenCL) vector, it's only available in C and OpenCL C.
719
- And it selects base on signedness of the condition operands (OpenCL v1.1 s6.3.9).
719
+ And it selects based on signedness of the condition operands (OpenCL v1.1 s6.3.9).
720
720
.. [# ] sizeof can only be used on vector length specific SVE types.
721
721
.. [# ] Clang does not allow the address of an element to be taken while GCC
722
722
allows this. This is intentional for vectors with a boolean element type and
@@ -857,7 +857,7 @@ Each builtin returns a scalar equivalent to applying the specified
857
857
operation(x, y) as recursive even-odd pairwise reduction to all vector
858
858
elements. ``operation(x, y) `` is repeatedly applied to each non-overlapping
859
859
even-odd element pair with indices ``i * 2 `` and ``i * 2 + 1 `` with
860
- ``i in [0, Number of elements / 2) ``. If the numbers of elements is not a
860
+ ``i in [0, Number of elements / 2) ``. If the number of elements is not a
861
861
power of 2, the vector is widened with neutral elements for the reduction
862
862
at the end to the next power of 2.
863
863
@@ -1491,7 +1491,7 @@ C++14 digit separators
1491
1491
1492
1492
Use ``__cpp_digit_separators `` to determine if support for digit separators
1493
1493
using single quotes (for instance, ``10'000 ``) is enabled. At this time, there
1494
- is no corresponding ``__has_feature `` name
1494
+ is no corresponding ``__has_feature `` name.
1495
1495
1496
1496
C++14 generalized lambda capture
1497
1497
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1545,7 +1545,7 @@ C++ type aware allocators
1545
1545
^^^^^^^^^^^^^^^^^^^^^^^^^
1546
1546
1547
1547
Use ``__has_extension(cxx_type_aware_allocators) `` to determine the existence of
1548
- support for the future C++2d type aware allocator feature. For full details see
1548
+ support for the future C++2d type aware allocator feature. For full details, see
1549
1549
:doc: `C++ Type Aware Allocators <CXXTypeAwareAllocators >` for additional details.
1550
1550
1551
1551
C11
@@ -1643,7 +1643,7 @@ Modules
1643
1643
Use ``__has_feature(modules) `` to determine if Modules have been enabled.
1644
1644
For example, compiling code with ``-fmodules `` enables the use of Modules.
1645
1645
1646
- More information could be found `here <https://clang.llvm.org/docs/Modules.html >`_.
1646
+ More information can be found `here <https://clang.llvm.org/docs/Modules.html >`_.
1647
1647
1648
1648
Language Extensions Back-ported to Previous Standards
1649
1649
=====================================================
@@ -1878,7 +1878,7 @@ The following type trait primitives are supported by Clang. Those traits marked
1878
1878
C++26 relocatable types, and types which
1879
1879
were made trivially relocatable via the ``clang::trivial_abi `` attribute.
1880
1880
This trait is deprecated and should be replaced by
1881
- ``__builtin_is_cpp_trivially_relocatable ``. Note however that it is generally
1881
+ ``__builtin_is_cpp_trivially_relocatable ``. Note, however, that it is generally
1882
1882
unsafe to relocate a C++-relocatable type with ``memcpy `` or ``memmove ``;
1883
1883
use ``__builtin_trivially_relocate ``.
1884
1884
* ``__builtin_is_cpp_trivially_relocatable `` (C++): Returns true if an object
0 commit comments