Home | History | Annotate | Download | only in Sema

Lines Matching refs:receiverType

1144 QualType Sema::getMessageSendResultType(QualType ReceiverType,
1168 if (ReceiverType->getAs<ObjCInterfaceType>() ||
1169 ReceiverType->isObjCQualifiedInterfaceType())
1170 return Context.getObjCObjectPointerType(ReceiverType);
1173 if (ReceiverType->isObjCClassType() ||
1174 ReceiverType->isObjCQualifiedClassType())
1180 return ReceiverType;
1273 bool Sema::CheckMessageArgumentTypes(QualType ReceiverType,
1313 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType);
1334 if (ReceiverType->isObjCObjectPointerType()) {
1336 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl()) {
1358 ReturnType = getMessageSendResultType(ReceiverType, Method, isClassMessage,
1800 ParsedType &ReceiverType) {
1801 ReceiverType = ParsedType();
1861 ReceiverType = CreateParsedType(T, TSInfo);
1884 ReceiverType = CreateParsedType(T, TSInfo);
1946 ExprResult Sema::BuildClassMessageImplicit(QualType ReceiverType,
1953 if (!ReceiverType.isNull())
1954 receiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType);
1956 return BuildClassMessage(receiverTypeInfo, ReceiverType,
2056 /// \param ReceiverType The type of the object receiving the
2075 QualType ReceiverType,
2097 if (ReceiverType->isDependentType()) {
2104 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel,
2111 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
2114 << ReceiverType;
2155 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2198 ReceiverType, Sel, SelectorLocs,
2223 QualType ReceiverType = GetTypeFromParser(Receiver, &ReceiverTypeInfo);
2224 if (ReceiverType.isNull())
2229 ReceiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType, LBracLoc);
2231 return BuildClassMessage(ReceiverTypeInfo, ReceiverType,
2238 QualType ReceiverType,
2243 return BuildInstanceMessage(Receiver, ReceiverType,
2259 /// \param ReceiverType The (static) type of the object receiving the
2278 QualType ReceiverType,
2334 ReceiverType = Receiver->getType();
2339 if (ReceiverType->isObjCRetainableType()) {
2343 (ReceiverType->isPointerType() ||
2344 ReceiverType->isIntegerType())) {
2348 << ReceiverType
2350 if (ReceiverType->isPointerType()) {
2361 ReceiverType = Receiver->getType();
2371 ReceiverType = Receiver->getType();
2382 bool receiverIsId = ReceiverType->isObjCIdType();
2383 if (receiverIsId || ReceiverType->isBlockPointerType() ||
2402 } else if (ReceiverType->isObjCClassType() ||
2403 ReceiverType->isObjCQualifiedClassType()) {
2409 = ReceiverType->getAsObjCQualifiedClassType()) {
2466 = ReceiverType->getAsObjCQualifiedIdType()) {
2474 = ReceiverType->getAsObjCInterfacePointerType()) {
2540 << ReceiverType << Receiver->getSourceRange();
2556 OCIType = ReceiverType->getAsObjCInterfacePointerType()) {
2597 bool ClassMessage = (ReceiverType->isObjCClassType() ||
2598 ReceiverType->isObjCQualifiedClassType());
2599 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2618 checkInitMethod(Method, ReceiverType);
2697 ReceiverType, Sel, SelectorLocs, Method,
3664 QualType receiverType =
3668 ExprResult msg = BuildClassMessageImplicit(receiverType, false,