Lines Matching refs:Receiver
2472 ParsedType Receiver, in ActOnClassMessage() argument
2479 QualType ReceiverType = GetTypeFromParser(Receiver, &ReceiverTypeInfo); in ActOnClassMessage()
2492 ExprResult Sema::BuildInstanceMessageImplicit(Expr *Receiver, in BuildInstanceMessageImplicit() argument
2498 return BuildInstanceMessage(Receiver, ReceiverType, in BuildInstanceMessageImplicit()
2499 /*SuperLoc=*/!Receiver ? Loc : SourceLocation(), in BuildInstanceMessageImplicit()
2532 ExprResult Sema::BuildInstanceMessage(Expr *Receiver, in BuildInstanceMessage() argument
2543 SourceLocation Loc = SuperLoc.isValid()? SuperLoc : Receiver->getLocStart(); in BuildInstanceMessage()
2545 SuperLoc.isValid()? SuperLoc : Receiver->getSourceRange(); in BuildInstanceMessage()
2560 if (Receiver) { in BuildInstanceMessage()
2561 if (Receiver->hasPlaceholderType()) { in BuildInstanceMessage()
2563 if (Receiver->getType() == Context.UnknownAnyTy) in BuildInstanceMessage()
2564 Result = forceUnknownAnyToType(Receiver, Context.getObjCIdType()); in BuildInstanceMessage()
2566 Result = CheckPlaceholderExpr(Receiver); in BuildInstanceMessage()
2568 Receiver = Result.get(); in BuildInstanceMessage()
2571 if (Receiver->isTypeDependent()) { in BuildInstanceMessage()
2578 Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage()
2585 ExprResult Result = DefaultFunctionArrayLvalueConversion(Receiver); in BuildInstanceMessage()
2588 Receiver = Result.get(); in BuildInstanceMessage()
2589 ReceiverType = Receiver->getType(); in BuildInstanceMessage()
2604 << Receiver->getSourceRange(); in BuildInstanceMessage()
2606 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
2610 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
2613 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
2616 ReceiverType = Receiver->getType(); in BuildInstanceMessage()
2619 if (RequireCompleteType(Loc, Receiver->getType(), in BuildInstanceMessage()
2623 ExprResult result = PerformContextuallyConvertToObjCPointer(Receiver); in BuildInstanceMessage()
2625 Receiver = result.get(); in BuildInstanceMessage()
2626 ReceiverType = Receiver->getType(); in BuildInstanceMessage()
2642 (Receiver && Context.isObjCNSObjectType(Receiver->getType()))) { in BuildInstanceMessage()
2696 if (!Receiver || !isSelfExpr(Receiver)) { in BuildInstanceMessage()
2754 Receiver? Receiver->getSourceRange() in BuildInstanceMessage()
2760 Diag(Receiver ? Receiver->getLocStart() in BuildInstanceMessage()
2782 if (!Method && (!Receiver || !isSelfExpr(Receiver))) { in BuildInstanceMessage()
2818 << ReceiverType << Receiver->getSourceRange(); in BuildInstanceMessage()
2830 (SuperLoc.isValid() || isSelfExpr(Receiver))) { in BuildInstanceMessage()
2862 (SuperLoc.isValid() || isSelfExpr(Receiver))) { in BuildInstanceMessage()
2980 Receiver, Sel, SelectorLocs, Method, in BuildInstanceMessage()
2990 (SuperLoc.isValid() || isSelfExpr(Receiver))) { in BuildInstanceMessage()
3039 Expr *Receiver, in ActOnInstanceMessage() argument
3045 if (!Receiver) in ActOnInstanceMessage()
3049 if (isa<ParenListExpr>(Receiver)) { in ActOnInstanceMessage()
3050 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Receiver); in ActOnInstanceMessage()
3052 Receiver = Result.get(); in ActOnInstanceMessage()
3062 return BuildInstanceMessage(Receiver, Receiver->getType(), in ActOnInstanceMessage()