aboutsummaryrefslogtreecommitdiff
path: root/clang/www
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2024-07-02 06:58:41 -0400
committerAaron Ballman <aaron@aaronballman.com>2024-07-02 07:00:19 -0400
commitb67d557bd3627a428d5041edec129587d6d3972c (patch)
treedb5ebb77f528ae8553e472a1101d07db7649e2fc /clang/www
parent6ad82fcc7d418e6e4cac9e0f82a35d8021f61ffa (diff)
downloadllvm-b67d557bd3627a428d5041edec129587d6d3972c.zip
llvm-b67d557bd3627a428d5041edec129587d6d3972c.tar.gz
llvm-b67d557bd3627a428d5041edec129587d6d3972c.tar.bz2
[C2y] Add -std=c2y and -std=gnu2y
This adds a language standard mode for the latest C standard. While WG14 is hoping for a three-year cycle, it is not clear that the next revision of C will be in 2026 and so a flag was not created for c26 specifically.
Diffstat (limited to 'clang/www')
-rw-r--r--clang/www/c_status.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/www/c_status.html b/clang/www/c_status.html
index 8e42b81..ccb39a1 100644
--- a/clang/www/c_status.html
+++ b/clang/www/c_status.html
@@ -71,7 +71,7 @@
</tr>
<tr>
<td><a href="#c2y">C2y</a></td>
- <td><tt>(Flag currently unavailable)</tt></td>
+ <td><tt>-std=c2y</tt></td>
<td class="partial" align="center">Partial</td>
</tr>
</table>
@@ -1229,8 +1229,7 @@ conforms by not defining the <code>__STDC_IEC_559_COMPLEX__</code> macro.
<p>Clang has support for some of the features of the C standard following C23, informally referred to as C2y.</p>
-<p>Clang currently does not expose a language standard mode flag for C2y.
-<!--You can use Clang in C2y mode with the <code>-std=c2y</code> option (available in Clang 19 and later).--></p>
+<p>You can use Clang in C2y mode with the <code>-std=c2y</code> option (available in Clang 19 and later).</p>
<details open>
<summary>List of features and minimum Clang version with support</summary>