Lines Matching defs:ReferringDecl
390 /// \param ReferringDecl The exact declaration that was referenced.
391 /// \param OffendingDecl A related decl to \c ReferringDecl that has an
393 /// may not be the same as ReferringDecl, i.e. if an EnumDecl is annotated and
394 /// we refer to a member EnumConstantDecl, ReferringDecl is the EnumConstantDecl
397 Decl *Ctx, const NamedDecl *ReferringDecl,
619 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) {
648 S.getTopMostPointOfInstantiation(ReferringDecl);
667 S.Diag(Loc, diag_message) << ReferringDecl << Message << FixIts;
672 S.Diag(Loc, diag) << ReferringDecl << FixIts;
677 S.Diag(Loc, diag_fwdclass_message) << ReferringDecl << FixIts;
698 const NamedDecl *ReferringDecl,
709 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass,
715 DoEmitAvailabilityWarning(S, AR, Ctx, ReferringDecl, OffendingDecl,