[clang] [CIR] Handle module imports and call imported modules' initializers (PR #229648)

Ronan Keryell via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 7 19:00:32 PDT 2026


================
@@ -2542,6 +2547,55 @@ void CIRGenModule::emitTopLevelDecl(Decl *decl) {
       emitGlobal(fd);
     break;
   }
+
+  case Decl::Import: {
+    auto *import = cast<ImportDecl>(decl);
----------------
keryell wrote:

Isn't great to dog-food our development tools? :smile: 

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


More information about the cfe-commits mailing list