[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 12:59:53 PDT 2024


================
@@ -1430,6 +1434,10 @@ bool Interpret(InterpState &S, APValue &Result) {
     }
   }
 }
+// https://github.com/llvm/llvm-project/issues/102513
+#if defined(_MSC_VER)
----------------
rnk wrote:

Please make the ifdef conditions match, or define your own macro like DEOPTIMIZE_SWITCH. As written, I'd expect to see some clang-cl build warnings.

https://github.com/llvm/llvm-project/pull/110986


More information about the cfe-commits mailing list