[clang] [clang] [MinGW] Set a predefined __GXX_TYPEINFO_EQUALITY_INLINE=0 for… (PR #96062)

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 01:13:03 PDT 2024


================
@@ -926,6 +926,12 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
   if (LangOpts.GNUCVersion && LangOpts.CPlusPlus11)
     Builder.defineMacro("__GXX_EXPERIMENTAL_CXX0X__");
 
+  if (TI.getTriple().isWindowsGNUEnvironment() && LangOpts.CPlusPlus) {
----------------
mstorsjo wrote:

Ok, done. Yeah while it doesn't serve much purpose in non-c++ mode, it doesn't hurt either and simplifies things a little bit.

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


More information about the cfe-commits mailing list