Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:TypeLoc

294   LocTy TypeLoc = Lex.getLoc();
306 if (ParseStructDefinition(TypeLoc, "",
312 return Error(TypeLoc, "non-struct types may not be recursive");
1226 SMLoc TypeLoc = Lex.getLoc();
1295 return Error(TypeLoc, "void type only allowed for function results");
1394 LocTy TypeLoc = Lex.getLoc();
1403 return Error(TypeLoc, "argument can not have void type");
1411 return Error(TypeLoc, "invalid type for function argument");
1413 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name));
1423 TypeLoc = Lex.getLoc();
1427 return Error(TypeLoc, "argument can not have void type");
1437 return Error(TypeLoc, "invalid type for function argument");
1439 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name));
1487 bool LLParser::ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
1492 return Error(TypeLoc, "redefinition of type");
1515 return Error(TypeLoc, "forward references to non-struct type");
1595 LocTy TypeLoc = Lex.getLoc();
1609 return Error(TypeLoc,
1614 return Error(TypeLoc, "invalid array element type");
3018 SMLoc TypeLoc = Lex.getLoc();
3026 return Error(TypeLoc, "value doesn't match function result type '" +
3037 return Error(TypeLoc, "value doesn't match function result type '" +
3396 LocTy TypeLoc;
3399 ParseType(EltTy, TypeLoc))
3403 return Error(TypeLoc, "va_arg requires operand with first class type");
3467 Type *Ty = 0; LocTy TypeLoc;
3470 if (ParseType(Ty, TypeLoc) ||
3500 return Error(TypeLoc, "phi node must have first class type");