[clang] cedfb54 - [docs] Update supported language standards list for C++
Yuki Okushi via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 9 06:14:25 PDT 2022
Author: Yuki Okushi
Date: 2022-06-09T22:14:08+09:00
New Revision: cedfb5462cd86b9790a887e4e566a85cfe4f2313
URL: https://github.com/llvm/llvm-project/commit/cedfb5462cd86b9790a887e4e566a85cfe4f2313
DIFF: https://github.com/llvm/llvm-project/commit/cedfb5462cd86b9790a887e4e566a85cfe4f2313.diff
LOG: [docs] Update supported language standards list for C++
Differential Revision: https://reviews.llvm.org/D127065
Added:
Modified:
clang/docs/CommandGuide/clang.rst
Removed:
################################################################################
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 658a30458043e..af2b0df98d3dc 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -185,13 +185,21 @@ Language Selection and Mode Options
ISO C++ 2017 with amendments and GNU extensions
- | ``c++2a``
+ | ``c++20``
- Working draft for ISO C++ 2020
+ ISO C++ 2020 with amendments
- | ``gnu++2a``
+ | ``gnu++20``
- Working draft for ISO C++ 2020 with GNU extensions
+ ISO C++ 2020 with amendments and GNU extensions
+
+ | ``c++2b``
+
+ Working draft for ISO C++ 2023
+
+ | ``gnu++2b``
+
+ Working draft for ISO C++ 2023 with GNU extensions
The default C++ language standard is ``gnu++14``.
More information about the cfe-commits
mailing list