[clang] [CIR] Unblock simple C++ structure support (PR #138368)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon May 5 11:04:20 PDT 2025


================
@@ -12,6 +12,17 @@ IncompleteS *p;
 // LLVM: @p = dso_local global ptr null
 // OGCG: @p = global ptr null, align 8
 
+struct CompleteS {
----------------
andykaylor wrote:

Yes, I think unions should work. I'll add a test for that.

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


More information about the cfe-commits mailing list