[clang] [CIR] Add support for derived class declarations (PR #142823)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 4 13:44:34 PDT 2025


================
@@ -96,6 +96,28 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
     llvm_unreachable("Unsupported record kind");
   }
 
+  /// Get a CIR named record type.
+  ///
+  /// If a record already exists and is complete, but the client tries to fetch
----------------
erichkeane wrote:

Can we have some asserts here for this condition?

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


More information about the cfe-commits mailing list