Skip to content

Commit d88d468

Browse files
ilinpvjroelofs
andcommitted
Update clang/docs/LanguageExtensions.rst
Co-authored-by: Jon Roelofs <jroelofs@gmail.com>
1 parent e8de23e commit d88d468

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2817,13 +2817,13 @@ Query for this feature with ``__has_builtin(__builtin_readsteadycounter)``.
28172817
28182818
**Description**:
28192819
2820-
The ``__builtin_cpu_supports`` function detects at runtime if target CPU
2821-
supports features specified in string argument. It returns positive integer
2822-
if all features are supported and 0 otherwise. Names of features and format is
2820+
The ``__builtin_cpu_supports`` function detects at runtime if the target CPU
2821+
supports features specified in string argument. It returns a positive integer
2822+
if all features are supported and 0 otherwise. Names of features and format are
28232823
target specific. For example on AArch64 features are combined using ``+`` like
28242824
this ``__builtin_cpu_supports("flagm+sha3+lse+rcpc2+fcma+memtag+bti+sme2")``.
2825-
If feature name is not supported or format is wrong, compiler will issue a
2826-
warning and replace builtin by constant 0.
2825+
If a feature name is not supported or the format is wrong, the compiler will issue a
2826+
warning and replace builtin by the constant 0.
28272827
28282828
Query for this feature with ``__has_builtin(__builtin_cpu_supports)``.
28292829

0 commit comments

Comments
 (0)