Skip to content

Commit

Permalink
[Doc][Clang] Update information about default standard version
Browse files Browse the repository at this point in the history
  • Loading branch information
royjacobson committed Mar 29, 2023
1 parent 9385996 commit da71cba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/www/cxx_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ <h2 id="cxx14">C++14 implementation status</h2>
href="https://www.iso.org/standard/64029.html">ISO
C++ 2014 standard</a>.</p>

<p>By default, Clang builds C++ code according to the C++14 standard.
You can use Clang in C++14 mode with the <code>-std=c++14</code> option
<p>You can use Clang in C++14 mode with the <code>-std=c++14</code> option
(use <code>-std=c++1y</code> in Clang 3.4 and earlier).</p>

<details>
Expand Down Expand Up @@ -593,7 +592,8 @@ <h2 id="cxx17">C++17 implementation status</h2>
<p>Clang 5 and later implement all the features of the
<a href="https://www.iso.org/standard/68564.html">ISO C++ 2017 standard</a>.</p>

<p>You can use Clang in C++17 mode with the <code>-std=c++17</code> option
<p>By default, Clang 16 or later builds C++ code according to the C++17 standard.
You can use Clang in C++17 mode with the <code>-std=c++17</code> option
(use <code>-std=c++1z</code> in Clang 4 and earlier).</p>

<details open>
Expand Down

0 comments on commit da71cba

Please sign in to comment.