reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExprObjC.cpp
 2680   assert((Receiver || SuperLoc.isValid()) && "If the Receiver is null, the "
 2685   SourceLocation Loc = SuperLoc.isValid() ? SuperLoc : Receiver->getBeginLoc();
 2687       SuperLoc.isValid()? SuperLoc : Receiver->getSourceRange();
 2703   if (Receiver) {
 2704     if (Receiver->hasPlaceholderType()) {
 2706       if (Receiver->getType() == Context.UnknownAnyTy)
 2707         Result = forceUnknownAnyToType(Receiver, Context.getObjCIdType());
 2709         Result = CheckPlaceholderExpr(Receiver);
 2711       Receiver = Result.get();
 2714     if (Receiver->isTypeDependent()) {
 2721           Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel,
 2728     ExprResult Result = DefaultFunctionArrayLvalueConversion(Receiver);
 2731     Receiver = Result.get();
 2732     ReceiverType = Receiver->getType();
 2747         << Receiver->getSourceRange();
 2749         Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(),
 2749         Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(),
 2753         bool IsNull = Receiver->isNullPointerConstant(Context,
 2756         Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(),
 2756         Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(),
 2759       ReceiverType = Receiver->getType();
 2762       if (RequireCompleteType(Loc, Receiver->getType(),
 2766       ExprResult result = PerformContextuallyConvertToObjCPointer(Receiver);
 2768         Receiver = result.get();
 2769         ReceiverType = Receiver->getType();
 2775     Diag(Receiver->getExprLoc(), diag::warn_messaging_unqualified_id);
 2788         (Receiver && Context.isObjCNSObjectType(Receiver->getType()))) {
 2788         (Receiver && Context.isObjCNSObjectType(Receiver->getType()))) {
 2846           if (!Receiver || !isSelfExpr(Receiver)) {
 2846           if (!Receiver || !isSelfExpr(Receiver)) {
 2904                                 Receiver? Receiver->getSourceRange()
 2904                                 Receiver? Receiver->getSourceRange()
 2910           Diag(Receiver ? Receiver->getBeginLoc() : SuperLoc,
 2910           Diag(Receiver ? Receiver->getBeginLoc() : SuperLoc,
 2932           if (!Method && (!Receiver || !isSelfExpr(Receiver))) {
 2932           if (!Method && (!Receiver || !isSelfExpr(Receiver))) {
 2968           << ReceiverType << Receiver->getSourceRange();
 2980       (SuperLoc.isValid() || isSelfExpr(Receiver))) {
 3012       (SuperLoc.isValid() || isSelfExpr(Receiver))) {
 3027   if (CheckMessageArgumentTypes(Receiver, ReceiverType,
 3131                                      Receiver, Sel, SelectorLocs, Method,
 3143     if (Receiver && isSelfExpr(Receiver)) {
 3143     if (Receiver && isSelfExpr(Receiver)) {
 3161         (SuperLoc.isValid() || isSelfExpr(Receiver))) {