Skip to content

Commit

Permalink
[docs] Update supported language standards list for C++
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D127065
  • Loading branch information
JohnTitor committed Jun 9, 2022
1 parent 074f12e commit cedfb54
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions clang/docs/CommandGuide/clang.rst
Expand Up @@ -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``.

Expand Down

0 comments on commit cedfb54

Please sign in to comment.