Author: Aaron Ballman
Date: 2023-05-23T13:38:59-04:00
New Revision: 8fc0dcf036bf199b2af2e10a4f81215dbd706daf

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

LOG: Add a reminder to update docs when updating default; NFC

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/MSVC.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/MSVC.cpp 
b/clang/lib/Driver/ToolChains/MSVC.cpp
index d803ddad504c..5e66bb9d1f88 100644
--- a/clang/lib/Driver/ToolChains/MSVC.cpp
+++ b/clang/lib/Driver/ToolChains/MSVC.cpp
@@ -785,6 +785,9 @@ VersionTuple MSVCToolChain::computeMSVCVersion(const Driver 
*D,
       Args.hasFlag(options::OPT_fms_extensions, options::OPT_fno_ms_extensions,
                    IsWindowsMSVC)) {
     // -fms-compatibility-version=19.20 is default, aka 2019, 16.x
+    // NOTE: when changing this value, also update
+    // clang/docs/CommandGuide/clang.rst and clang/docs/UsersManual.rst
+    // accordingly.
     MSVT = VersionTuple(19, 20);
   }
   return MSVT;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to