[clang] 47523f7 - [clang][docs] open details of C++{17,14,11} implementation by default (#193141)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 23 07:22:03 PDT 2026
Author: h-vetinari
Date: 2026-04-23T10:21:58-04:00
New Revision: 47523f7f079bd23d0e0db0dc0c23a036acd4c0a6
URL: https://github.com/llvm/llvm-project/commit/47523f7f079bd23d0e0db0dc0c23a036acd4c0a6
DIFF: https://github.com/llvm/llvm-project/commit/47523f7f079bd23d0e0db0dc0c23a036acd4c0a6.diff
LOG: [clang][docs] open details of C++{17,14,11} implementation by default (#193141)
Before
https://github.com/llvm/llvm-project/commit/b9c0e590f1fd4ea37da5c2b9b78d8e715c885f56
switched the C++ status page to a reverse chronological order, it made
sense to avoid wasting vertical space for already-implemented standards.
After that switch, it would make sense however to unfold them by
default.
This is for example why I had opened #61426, because CRTL+F did not show
P0588 on the status page[^1]. But not just for this paper, I think the
ease of finding papers is a good argument for folding out those tables.
[^1]: together with the fact that other status pages
([example](https://en.cppreference.com/cpp/compiler_support/20)) have
sorted this paper under C++20 rather than C++11.
Added:
Modified:
clang/www/cxx_status.html
Removed:
################################################################################
diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html
index 2c834b07f9a8f..c25590ac9d1b9 100755
--- a/clang/www/cxx_status.html
+++ b/clang/www/cxx_status.html
@@ -1078,7 +1078,7 @@ <h2 id="cxx17">C++17 implementation status</h2>
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>
+<details open>
<summary>List of features and minimum Clang version with support</summary>
<table width="689" border="1" cellspacing="0">
@@ -1342,7 +1342,7 @@ <h2 id="cxx14">C++14 implementation status</h2>
<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>
+<details open>
<summary>List of features and minimum Clang version with support</summary>
<table width="689" border="1" cellspacing="0">
@@ -1437,7 +1437,7 @@ <h2 id="cxx11">C++11 implementation status</h2>
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>
+<details open>
<summary>List of features and minimum Clang version with support</summary>
<table width="689" border="1" cellspacing="0">
More information about the cfe-commits
mailing list