9#ifndef LLVM_CLANG_CIR_CIRGENACTION_H
10#define LLVM_CLANG_CIR_CIRGENACTION_H
14#include "mlir/IR/BuiltinOps.h"
15#include "mlir/IR/OwningOpRef.h"
34 mlir::OwningOpRef<mlir::ModuleOp> MLIRMod;
36 mlir::MLIRContext *MLIRCtx;
41 std::unique_ptr<clang::ASTConsumer>
43 llvm::StringRef InFile)
override;
52 virtual void anchor();
Defines the clang::FrontendAction interface and various convenience abstract classes (clang::ASTFront...
std::unique_ptr< clang::ASTConsumer > CreateASTConsumer(clang::CompilerInstance &CI, llvm::StringRef InFile) override
Abstract base class to use for AST consumer-based frontend actions.
CompilerInstance - Helper class for managing a single instance of the Clang compiler.