aboutsummaryrefslogtreecommitdiff
path: root/clang/docs/CommandGuide
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2023-04-30 15:27:00 +0200
committerMark de Wever <koraq@xs4all.nl>2023-05-04 19:19:52 +0200
commitba15d186e5cef2620d562c6c9d9a6d570382cd0a (patch)
tree86597639d900a05d6b2c25236f4640f9a1697ca3 /clang/docs/CommandGuide
parent6d6880554c2cd8d4d83db56c74eda24c22e6323a (diff)
downloadllvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.zip
llvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.tar.gz
llvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.tar.bz2
[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/docs/CommandGuide')
-rw-r--r--clang/docs/CommandGuide/clang.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 0722979..6c59ffd 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -193,13 +193,13 @@ Language Selection and Mode Options
ISO C++ 2020 with amendments and GNU extensions
- | ``c++2b``
+ | ``c++23``
- Working draft for ISO C++ 2023
+ ISO C++ 2023 with amendments
- | ``gnu++2b``
+ | ``gnu++23``
- Working draft for ISO C++ 2023 with GNU extensions
+ ISO C++ 2023 with amendments and GNU extensions
The default C++ language standard is ``gnu++17``.