[clang] [CIR] Upstream initial support for complete record types (PR #135844)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 14:42:02 PDT 2025


================
@@ -126,6 +130,12 @@ void CIRRecordLowering::lower() {
     return;
   }
 
+  if (isa<CXXRecordDecl>(recordDecl)) {
+    cirGenTypes.getCGModule().errorNYI(recordDecl->getSourceRange(),
----------------
andykaylor wrote:

Eventually, yes. We aren't handling CXXRecordDecl in the code that gets here yet. I don't expect there to be much more than adding a switch statement for that, but everything in C++ ends up being more involved than I realized, so who knows.

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


More information about the cfe-commits mailing list