[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:09:33 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:
slightly suspicious about the name 'get module' (like the problems we have with `get context` everywhere in clang being ambiguous). But willing to see what others have to say.
https://github.com/llvm/llvm-project/pull/113483
More information about the cfe-commits
mailing list