[clang] [llvm] Adjust MSVC disabled optimization pragmas to be _MSC_VER only (PR #116704)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 03:16:17 PST 2024
================
@@ -1616,7 +1616,7 @@ bool Interpret(InterpState &S, APValue &Result) {
}
}
// https://github.com/llvm/llvm-project/issues/102513
-#if defined(_WIN32) && !defined(__clang__) && !defined(NDEBUG)
+#if defined(_MSC_VER) && !defined(__clang__) && !defined(NDEBUG)
#pragma optimize("", on)
----------------
RKSimon wrote:
nice catch!
https://github.com/llvm/llvm-project/pull/116704
More information about the cfe-commits
mailing list