[clang] [clang] Implement gcc_struct attribute on Itanium targets (PR #71148)

Yonggang Luo via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 08:57:30 PST 2025


================
@@ -6113,9 +6113,13 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
   if (KernelOrKext && RawTriple.isOSDarwin())
     CmdArgs.push_back("-fforbid-guard-variables");
 
-  if (Args.hasFlag(options::OPT_mms_bitfields, options::OPT_mno_ms_bitfields,
-                   Triple.isWindowsGNUEnvironment())) {
-    CmdArgs.push_back("-mms-bitfields");
+  if (Args.hasArg(options::OPT_mms_bitfields) ||
----------------
lygstate wrote:

@DanShaders Sorry for the bother, if really do not have time to continue it, I'd like to continue it with new MR>

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


More information about the cfe-commits mailing list