diff options
author | Mark de Wever <koraq@xs4all.nl> | 2023-04-30 15:27:00 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2023-05-04 19:19:52 +0200 |
commit | ba15d186e5cef2620d562c6c9d9a6d570382cd0a (patch) | |
tree | 86597639d900a05d6b2c25236f4640f9a1697ca3 /clang/www | |
parent | 6d6880554c2cd8d4d83db56c74eda24c22e6323a (diff) | |
download | llvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.tar.gz |
[clang] Use -std=c++23 instead of -std=c++2b
During the ISO C++ Committee meeting plenary session the C++23 Standard
has been voted as technical complete.
This updates the reference to c++2b to c++23 and updates the __cplusplus
macro.
Drive-by fixes c++1z -> c++17 and c++2a -> c++20 when seen.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D149553
Diffstat (limited to 'clang/www')
-rwxr-xr-x | clang/www/OpenProjects.html | 2 | ||||
-rwxr-xr-x | clang/www/cxx_status.html | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/clang/www/OpenProjects.html b/clang/www/OpenProjects.html index c2a8e8fa4f78..d3aedd281121 100755 --- a/clang/www/OpenProjects.html +++ b/clang/www/OpenProjects.html @@ -123,7 +123,7 @@ improve the quality of clang by self-testing. Some examples: </ul> </li> -<li><b>Continue work on C++20, C++2b, and C2x support</b>: +<li><b>Continue work on C++20, C++23, and C2x support</b>: There are still several C++20 features to complete, and work has begun on supporting the latest language standards. Please see the <a href="cxx_status.html">C++ status report page</a> to find out what is diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index fe2a16d9cee1..3750b573e79b 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -61,8 +61,8 @@ <td class="partial" align="center">Partial</td> </tr> <tr> - <td><a href="#cxx23">C++2b (tentatively C++23)</a></td> - <td><tt>-std=c++2b</tt></td> + <td><a href="#cxx23">C++23</a></td> + <td><tt>-std=c++23</tt></td> <td class="partial" align="center">Partial</td> </tr> </table> @@ -1290,12 +1290,12 @@ code. This issue is expected to be rectified soon. </p> </details> -<h2 id="cxx23">C++2b implementation status</h2> +<h2 id="cxx23">C++23 implementation status</h2> -<p>Clang has support for some of the features of the C++ standard following -C++20, informally referred to as C++2b.</p> +<!-- TODO add link to the ISO Standard after it's published. --> +<p>Clang has support for some of the features of the ISO C++ 2023 standard.</p> -<p>You can use Clang in C++2b mode with the <code>-std=c++2b</code> option.</p> +<p>You can use Clang in C++23 mode with the <code>-std=c++23</code> option.</p> <details open> <summary>List of features and minimum Clang version with support</summary> @@ -1303,7 +1303,7 @@ C++20, informally referred to as C++2b.</p> <table width="689" border="1" cellspacing="0"> <tr> <th>Language Feature</th> - <th>C++2b Proposal</th> + <th>C++23 Proposal</th> <th>Available in Clang?</th> </tr> <!-- Fall 2020 papers --> |