[clang] [Frontend][Sema] Add CC1-only -fms-anonymous-structs to enable Microsoft anonymous struct/union feature (PR #176551)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 09:46:42 PST 2026
================
@@ -350,6 +350,9 @@
// WJoined: "-cc1"
// WJoined: "-Wunused-pragmas"
+// RUN: %clang_cl -c -fms-extensions -### -- %s 2>&1 | FileCheck -check-prefix=CHECK-MS-ANON-STRUCT %s
+// CHECK-MS-ANON-STRUCT: "-fms-extensions" "-fms-anonymous-structs"
+
----------------
hubert-reinterpretcast wrote:
@riyaz86a, please remove this driver test too.
https://github.com/llvm/llvm-project/pull/176551
More information about the cfe-commits
mailing list