Lines Matching refs:tokError

346       return tokError("expected top-level entity");  in parseTopLevelEntities()
428 return tokError("unknown target property"); in parseTargetDefinition()
555 return tokError("expected 'global' or 'constant'"); in parseGlobalType()
656 return tokError("expected comdat type"); in parseComdat()
661 return tokError("unknown selection kind"); in parseComdat()
757 return tokError("found DIArgList outside of function"); in parseNamedMetadata()
781 return tokError("unexpected type in metadata definition"); in parseStandaloneMetadata()
800 return tokError("Metadata id is already used"); in parseStandaloneMetadata()
817 return tokError( in skipModuleSummaryEntry()
840 return tokError("found end of file while parsing summary entry"); in skipModuleSummaryEntry()
1043 return tokError("unknown alias or ifunc property!"); in parseIndirectSymbol()
1201 return tokError("unknown global variable property!"); in parseGlobal()
1226 return tokError("expected attribute group id"); in parseUnnamedAttrGrp()
1516 return tokError(ErrMsg); in parseToken()
1525 return tokError("expected string constant"); in parseStringConstant()
1535 return tokError("expected integer"); in parseUInt32()
1538 return tokError("expected 32-bit integer (too large)"); in parseUInt32()
1548 return tokError("expected integer"); in parseUInt64()
1561 return tokError("expected localdynamic, initialexec or localexec"); in parseTLSModel()
1894 return tokError("expected metadata after comma"); in parseInstructionMetadata()
2141 return tokError("Expected ordering on atomic instruction"); in parseOrdering()
2192 return tokError("expected ',' as start of index list"); in parseIndexList()
2197 return tokError("expected index"); in parseIndexList()
2219 return tokError(Msg); in parseType()
2288 return tokError("ptr* is invalid - use ptr instead"); in parseType()
2309 return tokError("basic block pointers are invalid"); in parseType()
2311 return tokError("pointers to void are invalid - use i8* instead"); in parseType()
2313 return tokError("pointer to this type is invalid"); in parseType()
2321 return tokError("basic block pointers are invalid"); in parseType()
2323 return tokError("pointers to void are invalid; use i8* instead"); in parseType()
2325 return tokError("pointer to this type is invalid"); in parseType()
2365 return tokError(Twine(Msg) + "non-musttail call"); in parseParameterList()
2367 return tokError(Twine(Msg) + "musttail call in non-varargs function"); in parseParameterList()
2393 return tokError("expected '...' at end of argument list for musttail call " in parseParameterList()
2570 return tokError("invalid function return type"); in parseFunctionType()
2717 return tokError("expected number in address space"); in parseArrayVectorType()
3001 return tokError("expected value token"); in parseValID()
3675 return tokError("expected comdat variable"); in parseOptionalComdat()
3682 return tokError("comdat cannot be unnamed"); in parseOptionalComdat()
3940 return tokError("expected integer"); in parseMDField()
3951 return tokError("expected unsigned integer"); in parseMDField()
3955 return tokError("value for '" + Name + "' too large, limit is " + in parseMDField()
3978 return tokError("expected DWARF tag"); in parseMDField()
3982 return tokError("invalid DWARF tag" + Twine(" '") + Lex.getStrVal() + "'"); in parseMDField()
3997 return tokError("expected DWARF macinfo type"); in parseMDField()
4001 return tokError("invalid DWARF macinfo type" + Twine(" '") + in parseMDField()
4017 return tokError("expected DWARF virtuality code"); in parseMDField()
4021 return tokError("invalid DWARF virtuality code" + Twine(" '") + in parseMDField()
4035 return tokError("expected DWARF language"); in parseMDField()
4039 return tokError("invalid DWARF language" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4053 return tokError("expected DWARF calling convention"); in parseMDField()
4057 return tokError("invalid DWARF calling convention" + Twine(" '") + in parseMDField()
4072 return tokError("expected emission kind"); in parseMDField()
4076 return tokError("invalid emission kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4091 return tokError("expected nameTable kind"); in parseMDField()
4095 return tokError("invalid nameTable kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4110 return tokError("expected DWARF type attribute encoding"); in parseMDField()
4114 return tokError("invalid DWARF type attribute encoding" + Twine(" '") + in parseMDField()
4139 return tokError("expected debug info flag"); in parseMDField()
4143 return tokError(Twine("invalid debug info flag flag '") + in parseMDField()
4179 return tokError("expected debug info flag"); in parseMDField()
4183 return tokError(Twine("invalid subprogram debug info flag '") + in parseMDField()
4205 return tokError("expected signed integer"); in parseMDField()
4209 return tokError("value for '" + Name + "' too small, limit is " + in parseMDField()
4212 return tokError("value for '" + Name + "' too large, limit is " + in parseMDField()
4225 return tokError("expected 'true' or 'false'"); in parseMDField()
4241 return tokError("'" + Name + "' cannot be null"); in parseMDField()
4309 return tokError("invalid checksum kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4323 return tokError("expected field label here"); in parseMDFieldsImplBody()
4350 return tokError("field '" + Name + "' cannot be specified more than once"); in parseMDField()
4365 return tokError("expected metadata type"); in parseSpecializedMDNode()
4383 return tokError(Twine("invalid field '") + Lex.getStrVal() + \
4509 return tokError("unsigned enumerator with negative value"); in parseDIEnumerator()
5041 return tokError(Twine("invalid DWARF op '") + Lex.getStrVal() + "'"); in parseDIExpression()
5050 return tokError(Twine("invalid DWARF attribute encoding '") + in parseDIExpression()
5055 return tokError("expected unsigned integer"); in parseDIExpression()
5059 return tokError("element too large, limit is " + Twine(UINT64_MAX)); in parseDIExpression()
5508 return tokError("function expected to be numbered '%" + in parseFunctionHeader()
5511 return tokError("expected function name"); in parseFunctionHeader()
5517 return tokError("expected '(' in function argument list"); in parseFunctionHeader()
5736 return tokError("expected '{' in function body"); in parseFunctionBody()
5752 return tokError("function body requires at least one basic block"); in parseFunctionBody()
5853 return tokError("found end of file when expecting more instructions"); in parseInstruction()
6049 return tokError("expected fcmp predicate (e.g. 'oeq')"); in parseCmpPredicate()
6070 return tokError("expected icmp predicate (e.g. 'eq')"); in parseCmpPredicate()
6439 return tokError("expected scope value for catchswitch"); in parseCatchSwitch()
6487 return tokError("expected scope value for catchpad"); in parseCatchPad()
6510 return tokError("expected scope value for cleanuppad"); in parseCleanupPad()
6922 return tokError("expected 'catch' or 'filter' clause type"); in parseLandingPad()
7288 return tokError("invalid cmpxchg success ordering"); in parseCmpXchg()
7290 return tokError("invalid cmpxchg failure ordering"); in parseCmpXchg()
7336 return tokError("expected binary operation in atomicrmw"); in parseAtomicRMW()
7367 return tokError("atomicrmw cannot be unordered"); in parseAtomicRMW()
7419 return tokError("fence cannot be unordered"); in parseFence()
7421 return tokError("fence cannot be monotonic"); in parseFence()
8534 return tokError("expected integer"); in parseFlag()
8771 return tokError("expected integer"); in parseParamAccessOffset()