================ @@ -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; } ---------------- dkolsen-pgi wrote:
A little while back I changed all the variable, parameter, and field names in the ClangIR code to be `astContext` or `mlirContext`, getting rid of all generic `context` or `cxt` names. I didn't do the same for function names. But it would be good if those were also changed. 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