[clang] 8908903 - Corrects some minor issues with the CXX status page.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 9 10:38:51 PDT 2021


Author: Aaron Ballman
Date: 2021-06-09T13:38:41-04:00
New Revision: 8908903eacb0e0a79c004e49959f860b5c0e4d53

URL: https://github.com/llvm/llvm-project/commit/8908903eacb0e0a79c004e49959f860b5c0e4d53
DIFF: https://github.com/llvm/llvm-project/commit/8908903eacb0e0a79c004e49959f860b5c0e4d53.diff

LOG: Corrects some minor issues with the CXX status page.

1) Adds some </p> tags where they were missing.
2) Documents that C++14 is the current default language mode, not C++98

Added: 
    

Modified: 
    clang/www/cxx_status.html

Removed: 
    


################################################################################
diff  --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html
index fc94282311561..1b761be8b22ae 100755
--- a/clang/www/cxx_status.html
+++ b/clang/www/cxx_status.html
@@ -90,12 +90,11 @@ <h2 id="cxx11">C++11 implementation status</h2>
 
 <p>Clang 3.3 and later implement all of the <a
   href="https://www.iso.org/standard/50372.html">ISO
-  C++ 2011 standard</a>.
+  C++ 2011 standard</a>.</p>
 
-<p>By default, Clang builds C++ code according to the C++98 standard, with many
-C++11 features accepted as extensions. You can use Clang in C++11 mode with the
-<code>-std=c++11</code> option. Clang's C++11 mode can be used
-with <a href="https://libcxx.llvm.org/">libc++</a> or with gcc's libstdc++.
+<p>You can use Clang in C++11 mode with the <code>-std=c++11</code>
+option. Clang's C++11 mode can be used with
+<a href="https://libcxx.llvm.org/">libc++</a> or with gcc's libstdc++.</p>
 
 <details>
 <summary>List of features and minimum Clang version with support</summary>
@@ -497,9 +496,10 @@ <h2 id="cxx14">C++14 implementation status</h2>
 
 <p>Clang 3.4 and later implement all of the <a
     href="https://www.iso.org/standard/64029.html">ISO
-    C++ 2014 standard</a>.
+    C++ 2014 standard</a>.</p>
 
-<p>You can use Clang in C++14 mode with the <code>-std=c++14</code> option
+<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
 (use <code>-std=c++1y</code> in Clang 3.4 and earlier).</p>
 
 <details>
@@ -591,7 +591,7 @@ <h2 id="cxx14">C++14 implementation status</h2>
 <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>.
+<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
 (use <code>-std=c++1z</code> in Clang 4 and earlier).</p>
@@ -856,7 +856,7 @@ <h2 id="cxx17">C++17 implementation status</h2>
 <h2 id="cxx20">C++20 implementation status</h2>
 
 <p>Clang has support for some of the features of the
-<a href="https://www.iso.org/standard/79358.html">ISO C++ 2020 standard</a>.
+<a href="https://www.iso.org/standard/79358.html">ISO C++ 2020 standard</a>.</p>
 
 <p>You can use Clang in C++20 mode with the <code>-std=c++20</code> option
 (use <code>-std=c++2a</code> in Clang 9 and earlier).</p>
@@ -1253,7 +1253,7 @@ <h2 id="cxx20">C++20 implementation status</h2>
 <h2 id="cxx23">C++2b implementation status</h2>
 
 <p>Clang has support for some of the features of the C++ standard following
-C++20, informally referred to as C++2b.
+C++20, informally referred to as C++2b.</p>
 
 <p>You can use Clang in C++2b mode with the <code>-std=c++2b</code> option.</p>
 


        


More information about the cfe-commits mailing list