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