[clang] [CIR] Call code gen; create empty cir.func op (PR #113483)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 12:48:05 PDT 2024


================
@@ -53,6 +53,7 @@ class CIRGenerator : public clang::ASTConsumer {
   ~CIRGenerator() override;
   void Initialize(clang::ASTContext &astCtx) override;
   bool HandleTopLevelDecl(clang::DeclGroupRef group) override;
+  mlir::ModuleOp getModule();
----------------
erichkeane wrote:

Ok, that seems fair.  We definitely have a few places where `getContext` means something ambiguous, so wanted to make sure this WOULDN'T be.  


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


More information about the cfe-commits mailing list