================ @@ -215,8 +215,7 @@ static void addVisualCDefines(const LangOptions &Opts, MacroBuilder &Builder) { if (Opts.isCompatibleWithMSVC(LangOptions::MSVC2015)) { if (Opts.CPlusPlus23) - // TODO update to the proper value. - Builder.defineMacro("_MSVC_LANG", "202004L"); + Builder.defineMacro("_MSVC_LANG", "202302L"); ---------------- zmodem wrote:
Good point. My only concern is that Clang currently sets `__cplusplus` to 202400L in C++26 mode, so they wouldn't match which is weird. But maybe we could bump that to 202600 also? https://github.com/llvm/llvm-project/pull/112378 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits