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"
38 mlir::OwningOpRef<mlir::ModuleOp> MLIRMod;
40 mlir::MLIRContext *MLIRCtx;
45 std::unique_ptr<clang::ASTConsumer>
47 llvm::StringRef InFile)
override;
56 virtual void anchor();
63 virtual void anchor();
70 virtual void anchor();
77 virtual void anchor();
84 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.