Home | History | Annotate | Download | only in Sema

Lines Matching refs:ReceiverType

1276                                              QualType ReceiverType,
1282 return Method->getSendResultType(ReceiverType);
1290 if (auto nullability = Method->getSendResultType(ReceiverType)
1311 Method->getSendResultType(ReceiverType));
1325 if (ReceiverType->getAsObjCInterfaceType())
1326 return transferNullability(Context.getObjCObjectPointerType(ReceiverType));
1329 if (ReceiverType->isObjCClassType() ||
1330 ReceiverType->isObjCQualifiedClassType())
1332 Method->getSendResultType(ReceiverType));
1337 return transferNullability(ReceiverType);
1340 QualType Sema::getMessageSendResultType(QualType ReceiverType,
1345 QualType resultType = getBaseMessageSendResultType(*this, ReceiverType,
1356 if (auto nullability = ReceiverType->getNullability(Context))
1494 bool Sema::CheckMessageArgumentTypes(QualType ReceiverType,
1534 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType);
1555 if (ReceiverType->isObjCObjectPointerType()) {
1557 ReceiverType->getAs<ObjCObjectPointerType>()->getInterfaceDecl()) {
1579 ReturnType = getMessageSendResultType(ReceiverType, Method, isClassMessage,
1598 = ReceiverType->getObjCSubstitutions(Method->getDeclContext());
2059 ParsedType &ReceiverType) {
2060 ReceiverType = nullptr;
2120 ReceiverType = CreateParsedType(T, TSInfo);
2143 ReceiverType = CreateParsedType(T, TSInfo);
2203 ExprResult Sema::BuildClassMessageImplicit(QualType ReceiverType,
2210 if (!ReceiverType.isNull())
2211 receiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType);
2213 return BuildClassMessage(receiverTypeInfo, ReceiverType,
2312 /// \param ReceiverType The type of the object receiving the
2331 QualType ReceiverType,
2353 if (ReceiverType->isDependentType()) {
2360 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel,
2367 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
2370 << ReceiverType;
2411 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2454 ReceiverType, Sel, SelectorLocs,
2479 QualType ReceiverType = GetTypeFromParser(Receiver, &ReceiverTypeInfo);
2480 if (ReceiverType.isNull())
2484 ReceiverTypeInfo = Context.getTrivialTypeSourceInfo(ReceiverType, LBracLoc);
2486 return BuildClassMessage(ReceiverTypeInfo, ReceiverType,
2493 QualType ReceiverType,
2498 return BuildInstanceMessage(Receiver, ReceiverType,
2514 /// \param ReceiverType The (static) type of the object receiving the
2533 QualType ReceiverType,
2589 ReceiverType = Receiver->getType();
2594 if (ReceiverType->isObjCRetainableType()) {
2598 (ReceiverType->isPointerType() ||
2599 ReceiverType->isIntegerType())) {
2603 << ReceiverType
2605 if (ReceiverType->isPointerType()) {
2616 ReceiverType = Receiver->getType();
2626 ReceiverType = Receiver->getType();
2639 bool receiverIsIdLike = ReceiverType->isObjCIdOrObjectKindOfType(Context,
2641 if (receiverIsIdLike || ReceiverType->isBlockPointerType() ||
2661 } else if (ReceiverType->isObjCClassOrClassKindOfType() ||
2662 ReceiverType->isObjCQualifiedClassType()) {
2667 if (!ReceiverType->isObjCClassOrClassKindOfType()) {
2669 = ReceiverType->getAsObjCQualifiedClassType();
2733 = ReceiverType->getAsObjCQualifiedIdType()) {
2741 = ReceiverType->getAsObjCInterfacePointerType()) {
2818 << ReceiverType << Receiver->getSourceRange();
2834 OCIType = ReceiverType->getAsObjCInterfacePointerType()) {
2875 bool ClassMessage = (ReceiverType->isObjCClassType() ||
2876 ReceiverType->isObjCQualifiedClassType());
2877 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2896 checkInitMethod(Method, ReceiverType);
2975 ReceiverType, Sel, SelectorLocs, Method,
3954 QualType receiverType = Context.getObjCInterfaceType(RelatedClass);
3957 ExprResult msg = BuildClassMessageImplicit(receiverType, false,