Author: Aaron Ballman Date: 2023-08-11T08:42:49-04:00 New Revision: 61c1e925319e933869b6fe2db4e8d348986880b8
URL: https://github.com/llvm/llvm-project/commit/61c1e925319e933869b6fe2db4e8d348986880b8 DIFF: https://github.com/llvm/llvm-project/commit/61c1e925319e933869b6fe2db4e8d348986880b8.diff LOG: Update documentation for C23 attribute spellings The spelling was updated in 0ce056a814f8dbfd8d9b7720ce1df489c6ba5ddb but the documentation changes were missed. Added: Modified: clang/docs/InternalsManual.rst Removed: ################################################################################ diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst index 1698e11d7b3e2f..f6fdf57dcf06c8 100644 --- a/clang/docs/InternalsManual.rst +++ b/clang/docs/InternalsManual.rst @@ -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. @@ -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. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits