Lines Matching defs:SuperLoc
1980 SourceLocation SuperLoc, QualType SuperType, bool Super) {
1993 SourceRange BaseRange = Super? SourceRange(SuperLoc)
2008 OK_ObjCProperty, MemberLoc, SuperLoc, SuperType);
2025 SuperLoc, SuperType);
2094 OK_ObjCProperty, MemberLoc, SuperLoc, SuperType);
2129 SuperLoc, SuperType, Super);
2380 ExprResult SemaObjC::ActOnSuperMessage(Scope *S, SourceLocation SuperLoc,
2387 ObjCMethodDecl *Method = tryCaptureObjCSelf(SuperLoc);
2389 Diag(SuperLoc, diag::err_invalid_receiver_to_message_super);
2395 Diag(SuperLoc, diag::err_no_super_class_message)
2403 Diag(SuperLoc, diag::err_root_class_cannot_use_super)
2417 return BuildInstanceMessage(nullptr, SuperTy, SuperLoc,
2426 SuperLoc, Sel, /*Method=*/nullptr,
2444 /*SuperLoc=*/isSuperReceiver ? Loc : SourceLocation(),
2585 /// sending to the superclass and \p SuperLoc must be a valid source
2593 /// \param SuperLoc The location of the "super" keyword in a
2608 SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method,
2612 SourceLocation Loc = SuperLoc.isValid()? SuperLoc
2631 assert(SuperLoc.isInvalid() && "Message to super with dependent type");
2653 = SuperLoc.isValid()? SourceRange(SuperLoc)
2687 Method, true, SuperLoc.isValid(), LBracLoc,
2697 if (Method && Method->isDirectMethod() && SuperLoc.isValid()) {
2698 Diag(SuperLoc, diag::err_messaging_super_with_direct_method)
2700 SuperLoc, getLangOpts().ObjCAutoRefCount
2709 if (!SuperLoc.isValid()) {
2733 if (SuperLoc.isValid())
2735 Context, ReturnType, VK, LBracLoc, SuperLoc, /*IsInstanceSuper=*/false,
2770 /*SuperLoc=*/SourceLocation(), Sel,
2779 /*SuperLoc=*/!Receiver ? Loc : SourceLocation(),
2810 /// sending to the superclass instance and \p SuperLoc must be a valid
2818 /// \param SuperLoc The location of the "super" keyword in a
2832 Expr *Receiver, QualType ReceiverType, SourceLocation SuperLoc,
2836 assert((Receiver || SuperLoc.isValid()) && "If the Receiver is null, the "
2837 "SuperLoc must be valid so we can "
2842 SourceLocation Loc = SuperLoc.isValid() ? SuperLoc : Receiver->getBeginLoc();
2844 SuperLoc.isValid()? SuperLoc : Receiver->getSourceRange();
2877 assert(SuperLoc.isInvalid() && "Message to super with dependent type");
3066 Diag(Receiver ? Receiver->getBeginLoc() : SuperLoc,
3159 if (SuperLoc.isValid()) {
3162 Diag(SuperLoc, diag::err_messaging_super_with_direct_method);
3165 SuperLoc, Method->getClassInterface()->getName()));
3167 Builder.AddFixItHint(FixItHint::CreateReplacement(SuperLoc, "self"));
3179 (SuperLoc.isValid() || isSelfExpr(Receiver))) {
3181 if (SuperLoc.isValid()) {
3203 Diag(SelLoc, SuperLoc.isValid() ?
3213 (SuperLoc.isValid() || isSelfExpr(Receiver))) {
3214 if (SuperLoc.isValid()) {
3230 Method, ClassMessage, SuperLoc.isValid(),
3325 if (SuperLoc.isValid())
3327 Context, ReturnType, VK, LBracLoc, SuperLoc, /*IsInstanceSuper=*/true,
3361 (SuperLoc.isValid() || isSelfExpr(Receiver))) {
3437 /*SuperLoc=*/SourceLocation(), Sel,