[clang] [CIR] Add framework for CIR to LLVM IR lowering (PR #124650)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 28 11:10:38 PST 2025
================
@@ -55,6 +55,9 @@ class CIRGenerator : public clang::ASTConsumer {
void Initialize(clang::ASTContext &astContext) override;
bool HandleTopLevelDecl(clang::DeclGroupRef group) override;
mlir::ModuleOp getModule() const;
+ std::shared_ptr<mlir::MLIRContext> getContext() {
----------------
AaronBallman wrote:
Should this be a `const` member function?
https://github.com/llvm/llvm-project/pull/124650
More information about the cfe-commits
mailing list