Searched refs:TokError (Results 1 – 14 of 14) sorted by relevance
173 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()183 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()195 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()207 return TokError("expected identifier in directive"); in ParseDirectiveSize()211 return TokError("unexpected token in directive"); in ParseDirectiveSize()219 return TokError("unexpected token in directive"); in ParseDirectiveSize()329 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()338 return TokError("expected identifier in directive"); in ParseDirectiveSection()356 return TokError("expected string in directive"); in ParseDirectiveSection()363 return TokError("unknown flag"); in ParseDirectiveSection()[all …]
365 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()394 return TokError("expected identifier in directive"); in ParseDirectiveDesc()400 return TokError("unexpected token in '.desc' directive"); in ParseDirectiveDesc()408 return TokError("unexpected token in '.desc' directive"); in ParseDirectiveDesc()424 return TokError("expected string in '.dump' or '.load' directive"); in ParseDirectiveDumpOrLoad()429 return TokError("unexpected token in '.dump' or '.load' directive"); in ParseDirectiveDumpOrLoad()447 return TokError("expected string in '" + Twine(IDVal) + "' directive"); in ParseDirectiveLinkerOption()460 return TokError("unexpected token in '" + Twine(IDVal) + "' directive"); in ParseDirectiveLinkerOption()473 return TokError("expected identifier in directive"); in ParseDirectiveLsym()479 return TokError("unexpected token in '.lsym' directive"); in ParseDirectiveLsym()[all …]
145 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()155 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()168 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()181 return TokError("expected identifier in directive"); in ParseDirectiveDef()197 return TokError("unexpected token in directive"); in ParseDirectiveScl()210 return TokError("unexpected token in directive"); in ParseDirectiveType()229 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()244 return TokError("unexpected token in directive"); in ParseSEHDirectiveStartProc()277 return TokError("you must specify one or both of @unwind or @except"); in ParseSEHDirectiveHandler()288 return TokError("unexpected token in directive"); in ParseSEHDirectiveHandler()[all …]
626 return TokError("unmatched .ifs or .elses"); in Run()633 TokError("unassigned file number: " + Twine(i) + " for .file directives"); in Run()670 TokError("expected section directive before assembly directive"); in checkForValidSection()717 return TokError("expected ')' in parentheses expression"); in ParseParenExpr()731 return TokError("expected ']' in brackets expression"); in ParseBracketExpr()748 return TokError("unknown token in expression"); in ParsePrimaryExpr()780 return TokError("invalid variant '" + Split.second + "'"); in ParsePrimaryExpr()843 return TokError("brackets expression not supported on this target"); in ParsePrimaryExpr()886 TokError("invalid variant on expression '" + in ApplyModifierToExpr()943 return TokError("unexpected symbol modifier following '@'"); in parseExpression()[all …]
36 bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) { in TokError() function in MCAsmParser
415 TokError("Record name is not typed!"); in ParseObjectName()431 TokError("expected name for ClassID"); in ParseClassID()437 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID()450 TokError("expected name for MultiClassID"); in ParseMultiClassID()456 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()489 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()501 TokError("expected '>' in template value list"); in ParseSubClassReference()534 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()546 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()562 TokError("expected integer or bitrange"); in ParseRangePiece()[all …]
96 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()
126 bool TokError(const Twine &Msg,
223 default: return TokError("expected top-level entity"); in ParseTopLevelEntities()309 default: return TokError("unknown target property"); in ParseTargetDefinition()437 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()606 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()796 TokError("unknown global variable property!"); in ParseGlobal()1054 return TokError(ErrMsg); in ParseToken()1063 return TokError("expected string constant"); in ParseStringConstant()1073 return TokError("expected integer"); in ParseUInt32()1076 return TokError("expected 32-bit integer (too large)"); in ParseUInt32()1089 return TokError("expected localdynamic, initialexec or localexec"); in ParseTLSModel()[all …]
145 bool TokError(const Twine &Msg) const { in TokError() function216 return TokError("expected index"); in ParseIndexList()
2682 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()