• Home
  • Raw
  • Download

Lines Matching refs:TokError

252     default:         return TokError("expected top-level entity");  in ParseTopLevelEntities()
300 default: return TokError("unknown target property"); in ParseTargetDefinition()
452 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
545 return TokError("expected comdat type"); in parseComdat()
550 return TokError("unknown selection kind"); in parseComdat()
658 return TokError("unexpected type in metadata definition"); in ParseStandaloneMetadata()
677 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
940 return TokError("unknown global variable property!"); in ParseGlobal()
955 return TokError("expected attribute group id"); in ParseUnnamedAttrGrp()
1243 return TokError(ErrMsg); in ParseToken()
1252 return TokError("expected string constant"); in ParseStringConstant()
1262 return TokError("expected integer"); in ParseUInt32()
1265 return TokError("expected 32-bit integer (too large)"); in ParseUInt32()
1275 return TokError("expected integer"); in ParseUInt64()
1288 return TokError("expected localdynamic, initialexec or localexec"); in ParseTLSModel()
1736 return TokError("expected metadata after comma"); in ParseInstructionMetadata()
1893 default: return TokError("Expected ordering on atomic instruction"); in ParseOrdering()
1943 return TokError("expected ',' as start of index list"); in ParseIndexList()
1947 if (Indices.empty()) return TokError("expected index"); in ParseIndexList()
1968 return TokError(Msg); in ParseType()
2038 return TokError("basic block pointers are invalid"); in ParseType()
2040 return TokError("pointers to void are invalid - use i8* instead"); in ParseType()
2042 return TokError("pointer to this type is invalid"); in ParseType()
2050 return TokError("basic block pointers are invalid"); in ParseType()
2052 return TokError("pointers to void are invalid; use i8* instead"); in ParseType()
2054 return TokError("pointer to this type is invalid"); in ParseType()
2095 return TokError(Twine(Msg) + "non-musttail call"); in ParseParameterList()
2097 return TokError(Twine(Msg) + "musttail call in non-varargs function"); in ParseParameterList()
2124 return TokError("expected '...' at end of argument list for musttail call " in ParseParameterList()
2270 return TokError("invalid function return type"); in ParseFunctionType()
2404 return TokError("expected number in address space"); in ParseArrayVectorType()
2684 default: return TokError("expected value token"); in ParseValID()
3267 return TokError("expected comdat variable"); in parseOptionalComdat()
3274 return TokError("comdat cannot be unnamed"); in parseOptionalComdat()
3431 return TokError("expected unsigned integer"); in ParseMDField()
3435 return TokError("value for '" + Name + "' too large, limit is " + in ParseMDField()
3458 return TokError("expected DWARF tag"); in ParseMDField()
3462 return TokError("invalid DWARF tag" + Twine(" '") + Lex.getStrVal() + "'"); in ParseMDField()
3477 return TokError("expected DWARF macinfo type"); in ParseMDField()
3481 return TokError( in ParseMDField()
3497 return TokError("expected DWARF virtuality code"); in ParseMDField()
3501 return TokError("invalid DWARF virtuality code" + Twine(" '") + in ParseMDField()
3515 return TokError("expected DWARF language"); in ParseMDField()
3519 return TokError("invalid DWARF language" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3533 return TokError("expected DWARF calling convention"); in ParseMDField()
3537 return TokError("invalid DWARF calling convention" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3551 return TokError("expected emission kind"); in ParseMDField()
3555 return TokError("invalid emission kind" + Twine(" '") + Lex.getStrVal() + in ParseMDField()
3570 return TokError("expected DWARF type attribute encoding"); in ParseMDField()
3574 return TokError("invalid DWARF type attribute encoding" + Twine(" '") + in ParseMDField()
3596 return TokError("expected debug info flag"); in ParseMDField()
3600 return TokError(Twine("invalid debug info flag flag '") + in ParseMDField()
3623 return TokError("expected signed integer"); in ParseMDField()
3627 return TokError("value for '" + Name + "' too small, limit is " + in ParseMDField()
3630 return TokError("value for '" + Name + "' too large, limit is " + in ParseMDField()
3643 return TokError("expected 'true' or 'false'"); in ParseMDField()
3659 return TokError("'" + Name + "' cannot be null"); in ParseMDField()
3713 return TokError("expected field label here"); in ParseMDFieldsImplBody()
3740 return TokError("field '" + Name + "' cannot be specified more than once"); in ParseMDField()
3755 return TokError("expected metadata type"); in ParseSpecializedMDNode()
3772 return TokError(Twine("invalid field '") + Lex.getStrVal() + "'"); \
4228 return TokError(Twine("invalid DWARF op '") + Lex.getStrVal() + "'"); in ParseDIExpression()
4232 return TokError("expected unsigned integer"); in ParseDIExpression()
4236 return TokError("element too large, limit is " + Twine(UINT64_MAX)); in ParseDIExpression()
4604 return TokError("function expected to be numbered '%" + in ParseFunctionHeader()
4607 return TokError("expected function name"); in ParseFunctionHeader()
4613 return TokError("expected '(' in function argument list"); in ParseFunctionHeader()
4821 return TokError("expected '{' in function body"); in ParseFunctionBody()
4837 return TokError("function body requires at least one basic block"); in ParseFunctionBody()
4932 return TokError("found end of file when expecting more instructions"); in ParseInstruction()
5052 default: return TokError("expected fcmp predicate (e.g. 'oeq')"); in ParseCmpPredicate()
5072 default: return TokError("expected icmp predicate (e.g. 'eq')"); in ParseCmpPredicate()
5450 return TokError("expected scope value for catchswitch"); in ParseCatchSwitch()
5499 return TokError("expected scope value for catchpad"); in ParseCatchPad()
5522 return TokError("expected scope value for cleanuppad"); in ParseCleanupPad()
5803 return TokError("expected 'catch' or 'filter' clause type"); in ParseLandingPad()
6120 return TokError("cmpxchg cannot be unordered"); in ParseCmpXchg()
6122 return TokError("cmpxchg failure argument shall be no stronger than the " in ParseCmpXchg()
6126 return TokError( in ParseCmpXchg()
6159 default: return TokError("expected binary operation in atomicrmw"); in ParseAtomicRMW()
6181 return TokError("atomicrmw cannot be unordered"); in ParseAtomicRMW()
6209 return TokError("fence cannot be unordered"); in ParseFence()
6211 return TokError("fence cannot be monotonic"); in ParseFence()