9 #ifndef MLIR_TOOLS_PDLL_PARSER_PARSER_H_
10 #define MLIR_TOOLS_PDLL_PARSER_PARSER_H_
22 class CodeCompleteContext;
35 FailureOr<ast::Module *>
36 parsePDLLAST(ast::Context &ctx, llvm::SourceMgr &sourceMgr,
37 bool enableDocumentation =
false,
38 CodeCompleteContext *codeCompleteContext =
nullptr);
The OpAsmOpInterface, see OpAsmInterface.td for more details.
FailureOr< ast::Module * > parsePDLLAST(ast::Context &ctx, llvm::SourceMgr &sourceMgr, bool enableDocumentation=false, CodeCompleteContext *codeCompleteContext=nullptr)
Parse an AST module from the main file of the given source manager.
Include the generated interface declarations.