Searched refs:TokError (Results 1 – 14 of 14) sorted by relevance
169 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()179 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()191 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()203 return TokError("expected identifier in directive"); in ParseDirectiveSize()207 return TokError("unexpected token in directive"); in ParseDirectiveSize()215 return TokError("unexpected token in directive"); in ParseDirectiveSize()325 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()334 return TokError("expected identifier in directive"); in ParseDirectiveSection()352 return TokError("expected string in directive"); in ParseDirectiveSection()359 return TokError("unknown flag"); in ParseDirectiveSection()[all …]
144 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()154 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()167 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()180 return TokError("expected identifier in directive"); in ParseDirectiveDef()196 return TokError("unexpected token in directive"); in ParseDirectiveScl()209 return TokError("unexpected token in directive"); in ParseDirectiveType()228 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()243 return TokError("unexpected token in directive"); in ParseSEHDirectiveStartProc()276 return TokError("you must specify one or both of @unwind or @except"); in ParseSEHDirectiveHandler()287 return TokError("unexpected token in directive"); in ParseSEHDirectiveHandler()[all …]
301 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()330 return TokError("expected identifier in directive"); in ParseDirectiveDesc()336 return TokError("unexpected token in '.desc' directive"); in ParseDirectiveDesc()344 return TokError("unexpected token in '.desc' directive"); in ParseDirectiveDesc()360 return TokError("expected string in '.dump' or '.load' directive"); in ParseDirectiveDumpOrLoad()365 return TokError("unexpected token in '.dump' or '.load' directive"); in ParseDirectiveDumpOrLoad()382 return TokError("expected identifier in directive"); in ParseDirectiveLsym()388 return TokError("unexpected token in '.lsym' directive"); in ParseDirectiveLsym()396 return TokError("unexpected token in '.lsym' directive"); in ParseDirectiveLsym()404 return TokError("directive '.lsym' is unsupported"); in ParseDirectiveLsym()[all …]
531 return TokError("unmatched .ifs or .elses"); in Run()538 TokError("unassigned file number: " + Twine(i) + " for .file directives"); in Run()575 TokError("expected section directive before assembly directive"); in CheckForValidSection()613 return TokError("expected ')' in parentheses expression"); in ParseParenExpr()627 return TokError("expected ']' in brackets expression"); in ParseBracketExpr()642 return TokError("unknown token in expression"); in ParsePrimaryExpr()671 return TokError("invalid variant '" + Split.second + "'"); in ParsePrimaryExpr()733 return TokError("brackets expression not supported on this target"); in ParsePrimaryExpr()776 TokError("invalid variant on expression '" + in ApplyModifierToExpr()833 return TokError("unexpected symbol modifier following '@'"); in ParseExpression()[all …]
36 bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) { in TokError() function in MCAsmParser
442 TokError("Record name is not typed!"); in ParseObjectName()458 TokError("expected name for ClassID"); in ParseClassID()464 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID()477 TokError("expected name for ClassID"); in ParseMultiClassID()483 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()491 TokError("expected multiclass name"); in ParseDefmID()497 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseDefmID()529 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()541 TokError("expected '>' in template value list"); in ParseSubClassReference()571 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()[all …]
95 bool TokError(const Twine &Msg) const { in TokError() function
56 token.type = TokError; in lex()132 return TokError; in lex()155 return TokError; in lexString()192 return TokError; in lexString()195 return TokError; in lexString()202 return TokError; in lexString()208 return TokError; in lexString()244 return TokError; in lexNumber()251 return TokError; in lexNumber()268 return TokError; in lexNumber()
61 TokNull, TokEnd, TokError }; enumerator
65 bool TokError(const Twine &Msg) { in TokError() function66 return getParser().TokError(Msg); in TokError()
99 bool TokError(const Twine &Msg,
165 default: return TokError("expected top-level entity"); in ParseTopLevelEntities()248 default: return TokError("unknown target property"); in ParseTargetDefinition()379 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()548 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()730 TokError("unknown global variable property!"); in ParseGlobal()833 return TokError(ErrMsg); in ParseToken()842 return TokError("expected string constant"); in ParseStringConstant()852 return TokError("expected integer"); in ParseUInt32()855 return TokError("expected 32-bit integer (too large)"); in ParseUInt32()1063 return TokError("expected metadata after comma"); in ParseInstructionMetadata()[all …]
140 bool TokError(const Twine &Msg) const { in TokError() function192 return TokError("expected index"); in ParseIndexList()
2613 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()