Lines Matching refs:tokError

367       return tokError("expected top-level entity");  in parseTopLevelEntities()
449 return tokError("unknown target property"); in parseTargetDefinition()
581 return tokError("expected 'global' or 'constant'"); in parseGlobalType()
688 return tokError("expected comdat type"); in parseComdat()
693 return tokError("unknown selection kind"); in parseComdat()
789 return tokError("found DIArgList outside of function"); in parseNamedMetadata()
813 return tokError("unexpected type in metadata definition"); in parseStandaloneMetadata()
832 return tokError("Metadata id is already used"); in parseStandaloneMetadata()
849 return tokError( in skipModuleSummaryEntry()
872 return tokError("found end of file while parsing summary entry"); in skipModuleSummaryEntry()
1081 return tokError("unknown alias or ifunc property!"); in parseAliasOrIFunc()
1143 return tokError("non-sanitizer token passed to LLParser::parseSanitizer()"); in parseSanitizer()
1278 return tokError("unknown global variable property!"); in parseGlobal()
1303 return tokError("expected attribute group id"); in parseUnnamedAttrGrp()
1608 return tokError(ErrMsg); in parseToken()
1617 return tokError("expected string constant"); in parseStringConstant()
1627 return tokError("expected integer"); in parseUInt32()
1630 return tokError("expected 32-bit integer (too large)"); in parseUInt32()
1640 return tokError("expected integer"); in parseUInt64()
1653 return tokError("expected localdynamic, initialexec or localexec"); in parseTLSModel()
1986 return tokError("expected metadata after comma"); in parseInstructionMetadata()
2283 return tokError("Expected ordering on atomic instruction"); in parseOrdering()
2334 return tokError("expected ',' as start of index list"); in parseIndexList()
2339 return tokError("expected index"); in parseIndexList()
2361 return tokError(Msg); in parseType()
2378 return tokError("ptr* is invalid - use ptr instead"); in parseType()
2451 return tokError("basic block pointers are invalid"); in parseType()
2453 return tokError("pointers to void are invalid - use i8* instead"); in parseType()
2455 return tokError("pointer to this type is invalid"); in parseType()
2463 return tokError("basic block pointers are invalid"); in parseType()
2465 return tokError("pointers to void are invalid; use i8* instead"); in parseType()
2467 return tokError("pointer to this type is invalid"); in parseType()
2507 return tokError(Twine(Msg) + "non-musttail call"); in parseParameterList()
2509 return tokError(Twine(Msg) + "musttail call in non-varargs function"); in parseParameterList()
2536 return tokError("expected '...' at end of argument list for musttail call " in parseParameterList()
2713 return tokError("invalid function return type"); in parseFunctionType()
2860 return tokError("expected number in address space"); in parseArrayVectorType()
3144 return tokError("expected value token"); in parseValID()
3801 return tokError("expected comdat variable"); in parseOptionalComdat()
3808 return tokError("comdat cannot be unnamed"); in parseOptionalComdat()
4046 return tokError("expected integer"); in parseMDField()
4057 return tokError("expected unsigned integer"); in parseMDField()
4061 return tokError("value for '" + Name + "' too large, limit is " + in parseMDField()
4084 return tokError("expected DWARF tag"); in parseMDField()
4088 return tokError("invalid DWARF tag" + Twine(" '") + Lex.getStrVal() + "'"); in parseMDField()
4103 return tokError("expected DWARF macinfo type"); in parseMDField()
4107 return tokError("invalid DWARF macinfo type" + Twine(" '") + in parseMDField()
4123 return tokError("expected DWARF virtuality code"); in parseMDField()
4127 return tokError("invalid DWARF virtuality code" + Twine(" '") + in parseMDField()
4141 return tokError("expected DWARF language"); in parseMDField()
4145 return tokError("invalid DWARF language" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4159 return tokError("expected DWARF calling convention"); in parseMDField()
4163 return tokError("invalid DWARF calling convention" + Twine(" '") + in parseMDField()
4178 return tokError("expected emission kind"); in parseMDField()
4182 return tokError("invalid emission kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4197 return tokError("expected nameTable kind"); in parseMDField()
4201 return tokError("invalid nameTable kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4216 return tokError("expected DWARF type attribute encoding"); in parseMDField()
4220 return tokError("invalid DWARF type attribute encoding" + Twine(" '") + in parseMDField()
4245 return tokError("expected debug info flag"); in parseMDField()
4249 return tokError(Twine("invalid debug info flag '") + Lex.getStrVal() + in parseMDField()
4285 return tokError("expected debug info flag"); in parseMDField()
4289 return tokError(Twine("invalid subprogram debug info flag '") + in parseMDField()
4311 return tokError("expected signed integer"); in parseMDField()
4315 return tokError("value for '" + Name + "' too small, limit is " + in parseMDField()
4318 return tokError("value for '" + Name + "' too large, limit is " + in parseMDField()
4331 return tokError("expected 'true' or 'false'"); in parseMDField()
4347 return tokError("'" + Name + "' cannot be null"); in parseMDField()
4415 return tokError("invalid checksum kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4429 return tokError("expected field label here"); in parseMDFieldsImplBody()
4456 return tokError("field '" + Name + "' cannot be specified more than once"); in parseMDField()
4471 return tokError("expected metadata type"); in parseSpecializedMDNode()
4489 return tokError(Twine("invalid field '") + Lex.getStrVal() + \
4615 return tokError("unsigned enumerator with negative value"); in parseDIEnumerator()
5158 return tokError(Twine("invalid DWARF op '") + Lex.getStrVal() + "'"); in parseDIExpression()
5167 return tokError(Twine("invalid DWARF attribute encoding '") + in parseDIExpression()
5172 return tokError("expected unsigned integer"); in parseDIExpression()
5176 return tokError("element too large, limit is " + Twine(UINT64_MAX)); in parseDIExpression()
5632 return tokError("function expected to be numbered '%" + in parseFunctionHeader()
5635 return tokError("expected function name"); in parseFunctionHeader()
5641 return tokError("expected '(' in function argument list"); in parseFunctionHeader()
5859 return tokError("expected '{' in function body"); in parseFunctionBody()
5875 return tokError("function body requires at least one basic block"); in parseFunctionBody()
5976 return tokError("found end of file when expecting more instructions"); in parseInstruction()
6172 return tokError("expected fcmp predicate (e.g. 'oeq')"); in parseCmpPredicate()
6193 return tokError("expected icmp predicate (e.g. 'eq')"); in parseCmpPredicate()
6562 return tokError("expected scope value for catchswitch"); in parseCatchSwitch()
6610 return tokError("expected scope value for catchpad"); in parseCatchPad()
6633 return tokError("expected scope value for cleanuppad"); in parseCleanupPad()
7044 return tokError("expected 'catch' or 'filter' clause type"); in parseLandingPad()
7410 return tokError("invalid cmpxchg success ordering"); in parseCmpXchg()
7412 return tokError("invalid cmpxchg failure ordering"); in parseCmpXchg()
7458 return tokError("expected binary operation in atomicrmw"); in parseAtomicRMW()
7497 return tokError("atomicrmw cannot be unordered"); in parseAtomicRMW()
7553 return tokError("fence cannot be unordered"); in parseFence()
7555 return tokError("fence cannot be monotonic"); in parseFence()
8668 return tokError("expected integer"); in parseFlag()
8933 return tokError("expected integer"); in parseParamAccessOffset()