Skip to content

Commit 8fc0dcf

Browse files
committed
Add a reminder to update docs when updating default; NFC
1 parent c88a7a7 commit 8fc0dcf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/lib/Driver/ToolChains/MSVC.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,9 @@ VersionTuple MSVCToolChain::computeMSVCVersion(const Driver *D,
785785
Args.hasFlag(options::OPT_fms_extensions, options::OPT_fno_ms_extensions,
786786
IsWindowsMSVC)) {
787787
// -fms-compatibility-version=19.20 is default, aka 2019, 16.x
788+
// NOTE: when changing this value, also update
789+
// clang/docs/CommandGuide/clang.rst and clang/docs/UsersManual.rst
790+
// accordingly.
788791
MSVT = VersionTuple(19, 20);
789792
}
790793
return MSVT;

0 commit comments

Comments
 (0)