Home | History | Annotate | Download | only in Sema

Lines Matching refs:receiverType

1139 QualType Sema::getMessageSendResultType(QualType ReceiverType,
1163 if (ReceiverType->getAs<ObjCInterfaceType>() ||
1164 ReceiverType->isObjCQualifiedInterfaceType())
1165 return Context.getObjCObjectPointerType(ReceiverType);
1168 if (ReceiverType->isObjCClassType() ||
1169 ReceiverType->isObjCQualifiedClassType())
1175 return ReceiverType;
1272 bool Sema::CheckMessageArgumentTypes(QualType ReceiverType,
1311 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType);
1329 if (ReceiverType->isObjCObjectPointerType()) {
1331 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl())
1347 ReturnType = getMessageSendResultType(ReceiverType, Method, isClassMessage,
1829 ParsedType &ReceiverType) {
1830 ReceiverType = ParsedType();
1890 ReceiverType = CreateParsedType(T, TSInfo);
1914 ReceiverType = CreateParsedType(T, TSInfo);
1976 ExprResult Sema::BuildClassMessageImplicit(QualType ReceiverType,
1983 if (!ReceiverType.isNull())
1984 receiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType);
1986 return BuildClassMessage(receiverTypeInfo, ReceiverType,
2047 /// \param ReceiverType The type of the object receiving the
2066 QualType ReceiverType,
2088 if (ReceiverType->isDependentType()) {
2095 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel,
2102 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
2105 << ReceiverType;
2146 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2163 ReceiverType, Sel, SelectorLocs,
2188 QualType ReceiverType = GetTypeFromParser(Receiver, &ReceiverTypeInfo);
2189 if (ReceiverType.isNull())
2194 ReceiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType, LBracLoc);
2196 return BuildClassMessage(ReceiverTypeInfo, ReceiverType,
2203 QualType ReceiverType,
2208 return BuildInstanceMessage(Receiver, ReceiverType,
2224 /// \param ReceiverType The (static) type of the object receiving the
2243 QualType ReceiverType,
2299 ReceiverType = Receiver->getType();
2304 if (ReceiverType->isObjCRetainableType()) {
2308 (ReceiverType->isPointerType() ||
2309 ReceiverType->isIntegerType())) {
2313 << ReceiverType
2315 if (ReceiverType->isPointerType()) {
2326 ReceiverType = Receiver->getType();
2336 ReceiverType = Receiver->getType();
2347 bool receiverIsId = ReceiverType->isObjCIdType();
2348 if (receiverIsId || ReceiverType->isBlockPointerType() ||
2357 } else if (ReceiverType->isObjCClassType() ||
2358 ReceiverType->isObjCQualifiedClassType()) {
2363 = ReceiverType->getAsObjCQualifiedClassType()) {
2418 = ReceiverType->getAsObjCQualifiedIdType()) {
2426 = ReceiverType->getAsObjCInterfacePointerType()) {
2484 << ReceiverType << Receiver->getSourceRange();
2500 OCIType = ReceiverType->getAsObjCInterfacePointerType()) {
2541 bool ClassMessage = (ReceiverType->isObjCClassType() ||
2542 ReceiverType->isObjCQualifiedClassType());
2543 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2562 checkInitMethod(Method, ReceiverType);
2638 ReceiverType, Sel, SelectorLocs, Method,
3603 QualType receiverType =
3607 ExprResult msg = BuildClassMessageImplicit(receiverType, false,