[clang] f47460e - [clang-cl][docs] Add missing documentation for `/std:` (#244892)

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 01:59:17 PST 2026


Author: Yat Ho
Date: 2026-11-23T10:59:12+01:00
New Revision: f47460ee55a9a9276d9353de0495dab7a3c11ad1

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

LOG: [clang-cl][docs] Add missing documentation for `/std:` (#244892)

Resolves #244531.

Related: #147284, #232659

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.md
    clang/docs/UsersManual.md

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index 17bb8a19325aec..dce8b7992b72f3 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -1465,6 +1465,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 fa316bded946de..4b34149564ddb6 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++


        


More information about the cfe-commits mailing list