[clang] [Frontend][Sema] Add CC1-only -fms-anonymous-structs to enable Microsoft anonymous struct/union feature (PR #176551)

Riyaz Ahmad via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 21 11:17:15 PST 2026


================
@@ -7156,8 +7156,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
 
   // -fms-extensions=0 is default.
   if (Args.hasFlag(options::OPT_fms_extensions, options::OPT_fno_ms_extensions,
-                   IsWindowsMSVC || IsUEFI))
+                   IsWindowsMSVC || IsUEFI)) {
----------------
riyaz86a wrote:

addressed this comment.

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


More information about the cfe-commits mailing list