[clang] [clang] Predefine `_CRT_USE_BUILTIN_OFFSETOF` in MS-compatible modes (PR #127568)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 07:26:04 PST 2025


================
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -verify -fms-compatibility
----------------
AaronBallman wrote:

We should have a RUN line which is not `-fms-compatibility` to show we don't define it in that case.

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


More information about the cfe-commits mailing list