Lines Matching defs:TypeLoc
301 LocTy TypeLoc = Lex.getLoc();
310 if (ParseStructDefinition(TypeLoc, "",
316 return Error(TypeLoc, "non-struct types may not be recursive");
1677 SMLoc TypeLoc = Lex.getLoc();
1744 return Error(TypeLoc, "void type only allowed for function results");
1866 LocTy TypeLoc = Lex.getLoc();
1875 return Error(TypeLoc, "argument can not have void type");
1883 return Error(TypeLoc, "invalid type for function argument");
1886 ArgList.push_back(ArgInfo(TypeLoc, ArgTy,
1898 TypeLoc = Lex.getLoc();
1902 return Error(TypeLoc, "argument can not have void type");
1912 return Error(TypeLoc, "invalid type for function argument");
1914 ArgList.push_back(ArgInfo(TypeLoc, ArgTy,
1965 bool LLParser::ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
1970 return Error(TypeLoc, "redefinition of type");
1993 return Error(TypeLoc, "forward references to non-struct type");
2073 LocTy TypeLoc = Lex.getLoc();
2087 return Error(TypeLoc, "invalid vector element type");
2091 return Error(TypeLoc, "invalid array element type");
4572 SMLoc TypeLoc = Lex.getLoc();
4580 return Error(TypeLoc, "value doesn't match function result type '" +
4591 return Error(TypeLoc, "value doesn't match function result type '" +
4964 LocTy TypeLoc;
4967 ParseType(EltTy, TypeLoc))
4971 return Error(TypeLoc, "va_arg requires operand with first class type");
5035 Type *Ty = nullptr; LocTy TypeLoc;
5038 if (ParseType(Ty, TypeLoc) ||
5068 return Error(TypeLoc, "phi node must have first class type");