Home | History | Annotate | Download | only in Sema

Lines Matching defs:ReceiverType

1033 QualType Sema::getMessageSendResultType(QualType ReceiverType,
1057 if (ReceiverType->getAs<ObjCInterfaceType>() ||
1058 ReceiverType->isObjCQualifiedInterfaceType())
1059 return Context.getObjCObjectPointerType(ReceiverType);
1062 if (ReceiverType->isObjCClassType() ||
1063 ReceiverType->isObjCQualifiedClassType())
1069 return ReceiverType;
1099 bool Sema::CheckMessageArgumentTypes(QualType ReceiverType,
1138 ReturnType = getMessageSendResultType(ReceiverType, Method, isClassMessage,
1623 ParsedType &ReceiverType) {
1624 ReceiverType = ParsedType();
1682 ReceiverType = CreateParsedType(T, TSInfo);
1711 ReceiverType = CreateParsedType(T, TSInfo);
1775 ExprResult Sema::BuildClassMessageImplicit(QualType ReceiverType,
1782 if (!ReceiverType.isNull())
1783 receiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType);
1785 return BuildClassMessage(receiverTypeInfo, ReceiverType,
1846 /// \param ReceiverType The type of the object receiving the
1865 QualType ReceiverType,
1882 if (ReceiverType->isDependentType()) {
1888 return Owned(ObjCMessageExpr::Create(Context, ReceiverType,
1897 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
1900 << ReceiverType;
1941 if (CheckMessageArgumentTypes(ReceiverType, Args, NumArgs, Sel, Method, true,
1956 ReceiverType, Sel, SelectorLocs,
1981 QualType ReceiverType
1982 if (ReceiverType.isNull())
1987 ReceiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType, LBracLoc);
1989 return BuildClassMessage(ReceiverTypeInfo, ReceiverType,
1995 QualType ReceiverType,
2000 return BuildInstanceMessage(Receiver, ReceiverType,
2016 /// \param ReceiverType The (static) type of the object receiving the
2035 QualType ReceiverType,
2085 ReceiverType = Receiver->getType();
2090 bool receiverIsId = ReceiverType->isObjCIdType();
2091 if (receiverIsId || ReceiverType->isBlockPointerType() ||
2100 } else if (ReceiverType->isObjCClassType() ||
2101 ReceiverType->isObjCQualifiedClassType()) {
2106 = ReceiverType->getAsObjCQualifiedClassType()) {
2160 = ReceiverType->getAsObjCQualifiedIdType()) {
2166 = ReceiverType->getAsObjCInterfacePointerType()) {
2223 (ReceiverType->isPointerType() ||
2224 ReceiverType->isIntegerType())) {
2228 << ReceiverType
2230 if (ReceiverType->isPointerType())
2240 ReceiverType = Receiver->getType();
2248 ReceiverType,
2259 << ReceiverType << Receiver->getSourceRange();
2271 bool ClassMessage = (ReceiverType->isObjCClassType() ||
2272 ReceiverType->isObjCQualifiedClassType());
2273 if (CheckMessageArgumentTypes(ReceiverType, Args, NumArgs, Sel, Method,
2293 checkInitMethod(Method, ReceiverType);
2369 ReceiverType, Sel, SelectorLocs, Method,