Skip to content

Commit

Permalink
Update documentation for C23 attribute spellings
Browse files Browse the repository at this point in the history
The spelling was updated in 0ce056a
but the documentation changes were missed.
  • Loading branch information
AaronBallman committed Aug 11, 2023
1 parent 9c4ade0 commit 61c1e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/docs/InternalsManual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2863,7 +2863,7 @@ are created implicitly. The following spellings are accepted:
syntax and placement.
``CXX11`` Spelled with a C++-style ``[[attr]]`` syntax with an
optional vendor-specific namespace.
``C2x`` Spelled with a C-style ``[[attr]]`` syntax with an
``C23`` Spelled with a C-style ``[[attr]]`` syntax with an
optional vendor-specific namespace.
``Declspec`` Spelled with a Microsoft-style ``__declspec(attr)``
syntax.
Expand Down Expand Up @@ -2895,7 +2895,7 @@ are created implicitly. The following spellings are accepted:

The C++ standard specifies that “any [non-standard attribute] that is not
recognized by the implementation is ignored” (``[dcl.attr.grammar]``).
The rule for C is similar. This makes ``CXX11`` and ``C2x`` spellings
The rule for C is similar. This makes ``CXX11`` and ``C23`` spellings
unsuitable for attributes that affect the type system, that change the
binary interface of the code, or that have other similar semantic meaning.

Expand Down

0 comments on commit 61c1e92

Please sign in to comment.