Skip to content

Commit cedfb54

Browse files
committed
[docs] Update supported language standards list for C++
Differential Revision: https://reviews.llvm.org/D127065
1 parent 074f12e commit cedfb54

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

clang/docs/CommandGuide/clang.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,21 @@ Language Selection and Mode Options
185185
186186
ISO C++ 2017 with amendments and GNU extensions
187187

188-
| ``c++2a``
188+
| ``c++20``
189189
190-
Working draft for ISO C++ 2020
190+
ISO C++ 2020 with amendments
191191

192-
| ``gnu++2a``
192+
| ``gnu++20``
193193
194-
Working draft for ISO C++ 2020 with GNU extensions
194+
ISO C++ 2020 with amendments and GNU extensions
195+
196+
| ``c++2b``
197+
198+
Working draft for ISO C++ 2023
199+
200+
| ``gnu++2b``
201+
202+
Working draft for ISO C++ 2023 with GNU extensions
195203

196204
The default C++ language standard is ``gnu++14``.
197205

0 commit comments

Comments
 (0)