diff options
author | Raul Tambre <raul@tambre.ee> | 2025-05-06 11:19:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 11:19:57 +0300 |
commit | d66dbd6931a4358c0e4fd7c749179aa229fb36a4 (patch) | |
tree | 3fd271dd0bf3ecd5db15ddd13b9a17fea26a5d50 /clang/docs/CommandGuide | |
parent | 4b30b3f901b00da1bd1f70e9ca9086e349c7cca0 (diff) | |
download | llvm-d66dbd6931a4358c0e4fd7c749179aa229fb36a4.zip llvm-d66dbd6931a4358c0e4fd7c749179aa229fb36a4.tar.gz llvm-d66dbd6931a4358c0e4fd7c749179aa229fb36a4.tar.bz2 |
[clang][doc] Document C2y flags (#138521)
As discussed at https://github.com/llvm/llvm-project/pull/138459#issuecomment-2850716184
Diffstat (limited to 'clang/docs/CommandGuide')
-rw-r--r-- | clang/docs/CommandGuide/clang.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst index e3399d3..1b8776c 100644 --- a/clang/docs/CommandGuide/clang.rst +++ b/clang/docs/CommandGuide/clang.rst @@ -155,6 +155,14 @@ Language Selection and Mode Options ISO C 2023 with GNU extensions + | ``c2y`` + + ISO C 202y + + | ``gnu2y`` + + ISO C 202y with GNU extensions + The default C language standard is ``gnu17``, except on PS4, where it is ``gnu99``. |