https://github.com/tearfur created https://github.com/llvm/llvm-project/pull/244892
Resolves #244531. Related: #147284, #232659 >From 0a53f31bd5a93e5ec07400440a9efbf6a7061868 Mon Sep 17 00:00:00 2001 From: Yat Ho <[email protected]> Date: Sat, 21 Nov 2026 22:42:26 +0800 Subject: [PATCH] [clang-cl][docs] Add missing documentation for `/std:` --- clang/docs/ReleaseNotes.md | 3 +++ clang/docs/UsersManual.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md index 4f4cfaf7af73a..76ed482c64b7b 100644 --- a/clang/docs/ReleaseNotes.md +++ b/clang/docs/ReleaseNotes.md @@ -1458,6 +1458,9 @@ documentation](CIR/index.md) for more information regarding ClangIR's status and #### Windows Support +- `clang-cl` now supports `/std:c++23` in accordance with the release of MSVC + Build Tools version 14.52. `/std:c++23preview` is now an alias of `/std:c++23`. + - Clang now accepts ``_except`` as an alias for ``__except`` in SEH handler position when ``-fms-compatibility`` is enabled, matching the existing ``_try``, ``_finally``, and ``_leave`` aliases. ``_except`` remains an ordinary diff --git a/clang/docs/UsersManual.md b/clang/docs/UsersManual.md index fa316bded946d..4b34149564ddb 100644 --- a/clang/docs/UsersManual.md +++ b/clang/docs/UsersManual.md @@ -5452,7 +5452,7 @@ Execute `clang-cl /?` to see a list of supported options: > /showIncludes:user Like /showIncludes but omit system headers > /showIncludes Print info about included files to stderr > /source-charset:<value> Set source encoding, supports only UTF-8 -> /std:<value> Set language version (c++14,c++17,c++20,c++23preview,c++26preview,c++latest,c11,c17) +> /std:<value> Set language version (c++14,c++17,c++20,c++23,c++23preview,c++26preview,c++latest,c11,c17,clatest) > /TC Treat all source files as C > /Tc <file> Treat <file> as C source file > /TP Treat all source files as C++ _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
