Lines Matching refs:TokError

313     default:         return TokError("expected top-level entity");  in ParseTopLevelEntities()
366 default: return TokError("unknown target property"); in ParseTargetDefinition()
517 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
617 return TokError("expected comdat type"); in parseComdat()
622 return TokError("unknown selection kind"); in parseComdat()
737 return TokError("unexpected type in metadata definition"); in ParseStandaloneMetadata()
756 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
771 return TokError( in SkipModuleSummaryEntry()
789 return TokError("found end of file while parsing summary entry"); in SkipModuleSummaryEntry()
1101 return TokError("unknown global variable property!"); in ParseGlobal()
1126 return TokError("expected attribute group id"); in ParseUnnamedAttrGrp()
1442 return TokError(ErrMsg); in ParseToken()
1451 return TokError("expected string constant"); in ParseStringConstant()
1461 return TokError("expected integer"); in ParseUInt32()
1464 return TokError("expected 32-bit integer (too large)"); in ParseUInt32()
1474 return TokError("expected integer"); in ParseUInt64()
1487 return TokError("expected localdynamic, initialexec or localexec"); in ParseTLSModel()
1977 return TokError("expected metadata after comma"); in ParseInstructionMetadata()
2184 default: return TokError("Expected ordering on atomic instruction"); in ParseOrdering()
2234 return TokError("expected ',' as start of index list"); in ParseIndexList()
2238 if (Indices.empty()) return TokError("expected index"); in ParseIndexList()
2259 return TokError(Msg); in ParseType()
2329 return TokError("basic block pointers are invalid"); in ParseType()
2331 return TokError("pointers to void are invalid - use i8* instead"); in ParseType()
2333 return TokError("pointer to this type is invalid"); in ParseType()
2341 return TokError("basic block pointers are invalid"); in ParseType()
2343 return TokError("pointers to void are invalid; use i8* instead"); in ParseType()
2345 return TokError("pointer to this type is invalid"); in ParseType()
2385 return TokError(Twine(Msg) + "non-musttail call"); in ParseParameterList()
2387 return TokError(Twine(Msg) + "musttail call in non-varargs function"); in ParseParameterList()
2413 return TokError("expected '...' at end of argument list for musttail call " in ParseParameterList()
2557 return TokError("invalid function return type"); in ParseFunctionType()
2690 return TokError("expected number in address space"); in ParseArrayVectorType()
2956 default: return TokError("expected value token"); in ParseValID()
3576 return TokError("expected comdat variable"); in parseOptionalComdat()
3583 return TokError("comdat cannot be unnamed"); in parseOptionalComdat()
3838 return TokError("expected unsigned integer"); in ParseMDField()
3842 return TokError("value for '" + Name + "' too large, limit is " + in ParseMDField()
3865 return TokError("expected DWARF tag"); in ParseMDField()
3869 return TokError("invalid DWARF tag" + Twine(" '") + Lex.getStrVal() + "'"); in ParseMDField()
3884 return TokError("expected DWARF macinfo type"); in ParseMDField()
3888 return TokError( in ParseMDField()
3904 return TokError("expected DWARF virtuality code"); in ParseMDField()
3908 return TokError("invalid DWARF virtuality code" + Twine(" '") + in ParseMDField()
3922 return TokError("expected DWARF language"); in ParseMDField()
3926 return TokError("invalid DWARF language" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3940 return TokError("expected DWARF calling convention"); in ParseMDField()
3944 return TokError("invalid DWARF calling convention" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3958 return TokError("expected emission kind"); in ParseMDField()
3962 return TokError("invalid emission kind" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3977 return TokError("expected nameTable kind"); in ParseMDField()
3981 return TokError("invalid nameTable kind" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3996 return TokError("expected DWARF type attribute encoding"); in ParseMDField()
4000 return TokError("invalid DWARF type attribute encoding" + Twine(" '") + in ParseMDField()
4025 return TokError("expected debug info flag"); in ParseMDField()
4029 return TokError(Twine("invalid debug info flag flag '") + in ParseMDField()
4065 return TokError("expected debug info flag"); in ParseMDField()
4069 return TokError(Twine("invalid subprogram debug info flag '") + in ParseMDField()
4092 return TokError("expected signed integer"); in ParseMDField()
4096 return TokError("value for '" + Name + "' too small, limit is " + in ParseMDField()
4099 return TokError("value for '" + Name + "' too large, limit is " + in ParseMDField()
4112 return TokError("expected 'true' or 'false'"); in ParseMDField()
4128 return TokError("'" + Name + "' cannot be null"); in ParseMDField()
4217 return TokError( in ParseMDField()
4231 return TokError("expected field label here"); in ParseMDFieldsImplBody()
4258 return TokError("field '" + Name + "' cannot be specified more than once"); in ParseMDField()
4273 return TokError("expected metadata type"); in ParseSpecializedMDNode()
4290 return TokError(Twine("invalid field '") + Lex.getStrVal() + "'"); \
4365 return TokError("unsigned enumerator with negative value"); in ParseDIEnumerator()
4828 return TokError(Twine("invalid DWARF op '") + Lex.getStrVal() + "'"); in ParseDIExpression()
4832 return TokError("expected unsigned integer"); in ParseDIExpression()
4836 return TokError("element too large, limit is " + Twine(UINT64_MAX)); in ParseDIExpression()
5225 return TokError("function expected to be numbered '%" + in ParseFunctionHeader()
5228 return TokError("expected function name"); in ParseFunctionHeader()
5234 return TokError("expected '(' in function argument list"); in ParseFunctionHeader()
5439 return TokError("expected '{' in function body"); in ParseFunctionBody()
5455 return TokError("function body requires at least one basic block"); in ParseFunctionBody()
5550 return TokError("found end of file when expecting more instructions"); in ParseInstruction()
5680 default: return TokError("expected fcmp predicate (e.g. 'oeq')"); in ParseCmpPredicate()
5700 default: return TokError("expected icmp predicate (e.g. 'eq')"); in ParseCmpPredicate()
6066 return TokError("expected scope value for catchswitch"); in ParseCatchSwitch()
6115 return TokError("expected scope value for catchpad"); in ParseCatchPad()
6138 return TokError("expected scope value for cleanuppad"); in ParseCleanupPad()
6456 return TokError("expected 'catch' or 'filter' clause type"); in ParseLandingPad()
6786 return TokError("cmpxchg cannot be unordered"); in ParseCmpXchg()
6788 return TokError("cmpxchg failure argument shall be no stronger than the " in ParseCmpXchg()
6792 return TokError( in ParseCmpXchg()
6825 default: return TokError("expected binary operation in atomicrmw"); in ParseAtomicRMW()
6847 return TokError("atomicrmw cannot be unordered"); in ParseAtomicRMW()
6880 return TokError("fence cannot be unordered"); in ParseFence()
6882 return TokError("fence cannot be monotonic"); in ParseFence()
7839 return TokError("expected integer"); in ParseFlag()