Home
last modified time | relevance | path

Searched refs:parseError (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A DParser.h59 return parseError<ModuleAST>("'def' or 'struct'", in parseModule()
192 return parseError<ExprAST>("{, [, or number", in parseStructLiteralExpr()
208 return parseError<ExprAST>("<something>", in parseStructLiteralExpr()
361 return parseError<VarType>("<", "to begin type"); in parseType()
374 return parseError<VarType>(">", "to end type"); in parseType()
407 return parseError<VarDeclExprAST>("initializer", in parseTypedDeclaration()
451 return parseError<VarDeclExprAST>("identified", in parseVarDeclaration()
482 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
549 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
581 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch1/include/toy/
H A DParser.h54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule()
293 return parseError<VarType>("<", "to begin type"); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
322 return parseError<VarDeclExprAST>("identified", in parseDeclaration()
350 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
381 return parseError<ExprASTList>(";", "after expression"); in parseBlock()
389 return parseError<ExprASTList>("}", "to close block"); in parseBlock()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/
H A DParser.h54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule()
293 return parseError<VarType>("<", "to begin type"); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
322 return parseError<VarDeclExprAST>("identified", in parseDeclaration()
350 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
381 return parseError<ExprASTList>(";", "after expression"); in parseBlock()
389 return parseError<ExprASTList>("}", "to close block"); in parseBlock()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/
H A DParser.h54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule()
293 return parseError<VarType>("<", "to begin type"); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
322 return parseError<VarDeclExprAST>("identified", in parseDeclaration()
350 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
381 return parseError<ExprASTList>(";", "after expression"); in parseBlock()
389 return parseError<ExprASTList>("}", "to close block"); in parseBlock()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/
H A DParser.h54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule()
293 return parseError<VarType>("<", "to begin type"); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
322 return parseError<VarDeclExprAST>("identified", in parseDeclaration()
350 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
381 return parseError<ExprASTList>(";", "after expression"); in parseBlock()
389 return parseError<ExprASTList>("}", "to close block"); in parseBlock()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/
H A DParser.h54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule()
293 return parseError<VarType>("<", "to begin type"); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
322 return parseError<VarDeclExprAST>("identified", in parseDeclaration()
350 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
381 return parseError<ExprASTList>(";", "after expression"); in parseBlock()
389 return parseError<ExprASTList>("}", "to close block"); in parseBlock()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/
H A DParser.h54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule()
293 return parseError<VarType>("<", "to begin type"); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
322 return parseError<VarDeclExprAST>("identified", in parseDeclaration()
350 return parseError<ExprASTList>("{", "to begin block"); in parseBlock()
381 return parseError<ExprASTList>(";", "after expression"); in parseBlock()
389 return parseError<ExprASTList>("}", "to close block"); in parseBlock()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DJSON.cpp374 return parseError("Invalid UTF-8 sequence"); in checkUTF8()
383 return parseError("Text after end of document"); in assertEnd()
418 return parseError("Unexpected EOF"); in parseValue()
424 parseError("Invalid JSON value (null?)"); in parseValue()
428 parseError("Invalid JSON value (true?)"); in parseValue()
432 parseError("Invalid JSON value (false?)"); in parseValue()
475 return parseError("Expected object key"); in parseValue()
500 return parseError("Invalid JSON value"); in parseValue()
540 return parseError("Unterminated string"); in parseString()
574 return parseError("Invalid escape sequence"); in parseString()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.h989 Error parseError(size_t LineNo, Error E) const { in parseError() function
996 Error parseError(size_t LineNo, char const *Fmt, const Ts &...Vals) const { in parseError() function
998 return parseError(LineNo, std::move(E)); in parseError()
H A DELFObject.cpp1894 return parseError(LineNo, R.takeError()); in parse()
1901 return parseError(-1U, "no sections"); in parse()