================ @@ -55,6 +55,7 @@ class CIRGenerator : public clang::ASTConsumer { void Initialize(clang::ASTContext &astContext) override; bool HandleTopLevelDecl(clang::DeclGroupRef group) override; mlir::ModuleOp getModule() const; + mlir::MLIRContext &getContext() { return *mlirContext; } ---------------- erichkeane wrote:
```suggestion mlir::MLIRContext &getMLIRContext() { return *mlirContext; } ``` MINOR preference? We have all sorts of `contexts` all over the place that these are incredibly confusing. https://github.com/llvm/llvm-project/pull/127835 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits