Home | History | Annotate | Download | only in Sema

Lines Matching refs:ReceiverType

1058 QualType Sema::getMessageSendResultType(QualType ReceiverType,
1082 if (ReceiverType->getAs<ObjCInterfaceType>() ||
1083 ReceiverType->isObjCQualifiedInterfaceType())
1084 return Context.getObjCObjectPointerType(ReceiverType);
1087 if (ReceiverType->isObjCClassType() ||
1088 ReceiverType->isObjCQualifiedClassType())
1094 return ReceiverType;
1124 bool Sema::CheckMessageArgumentTypes(QualType ReceiverType,
1172 ReturnType = getMessageSendResultType(ReceiverType, Method, isClassMessage,
1676 ParsedType &ReceiverType) {
1677 ReceiverType = ParsedType();
1735 ReceiverType = CreateParsedType(T, TSInfo);
1764 ReceiverType = CreateParsedType(T, TSInfo);
1826 ExprResult Sema::BuildClassMessageImplicit(QualType ReceiverType,
1833 if (!ReceiverType.isNull())
1834 receiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType);
1836 return BuildClassMessage(receiverTypeInfo, ReceiverType,
1897 /// \param ReceiverType The type of the object receiving the
1916 QualType ReceiverType,
1933 if (ReceiverType->isDependentType()) {
1939 return Owned(ObjCMessageExpr::Create(Context, ReceiverType,
1948 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
1951 << ReceiverType;
1992 if (CheckMessageArgumentTypes(ReceiverType, Args, NumArgs, Sel, SelectorLocs,
2008 ReceiverType
2033 QualType ReceiverType = GetTypeFromParser(Receiver, &ReceiverTypeInfo);
2034 if (ReceiverType.isNull())
2039 ReceiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType, LBracLoc);
2041 return BuildClassMessage(ReceiverTypeInfo, ReceiverType,
2047 QualType ReceiverType,
2052 return BuildInstanceMessage(Receiver, ReceiverType,
2068 /// \param ReceiverType The (static) type of the object receiving the
2087 QualType ReceiverType,
2137 ReceiverType = Receiver->getType();
2142 if (ReceiverType->isObjCRetainableType()) {
2146 (ReceiverType->isPointerType() ||
2147 ReceiverType->isIntegerType())) {
2151 << ReceiverType
2153 if (ReceiverType->isPointerType()) {
2164 ReceiverType = Receiver->getType();
2169 ReceiverType = Receiver->getType();
2180 bool receiverIsId = ReceiverType->isObjCIdType();
2181 if (receiverIsId || ReceiverType->isBlockPointerType() ||
2190 } else if (ReceiverType->isObjCClassType() ||
2191 ReceiverType->isObjCQualifiedClassType()) {
2196 = ReceiverType->getAsObjCQualifiedClassType()) {
2251 = ReceiverType->getAsObjCQualifiedIdType()) {
2259 = ReceiverType->getAsObjCInterfacePointerType()) {
2316 << ReceiverType << Receiver->getSourceRange();
2327 bool ClassMessage = (ReceiverType->isObjCClassType() ||
2328 ReceiverType->isObjCQualifiedClassType());
2329 if (CheckMessageArgumentTypes(ReceiverType, Args, NumArgs, Sel,
2350 checkInitMethod(Method, ReceiverType);
2426 ReceiverType, Sel, SelectorLocs, Method,