Lines Matching defs:ReferringDecl
382 /// \param ReferringDecl The exact declaration that was referenced.
383 /// \param OffendingDecl A related decl to \c ReferringDecl that has an
385 /// may not be the same as ReferringDecl, i.e. if an EnumDecl is annotated and
386 /// we refer to a member EnumConstantDecl, ReferringDecl is the EnumConstantDecl
389 Decl *Ctx, const NamedDecl *ReferringDecl,
592 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) {
621 S.getTopMostPointOfInstantiation(ReferringDecl);
640 S.Diag(Loc, diag_message) << ReferringDecl << Message << FixIts;
645 S.Diag(Loc, diag) << ReferringDecl << FixIts;
650 S.Diag(Loc, diag_fwdclass_message) << ReferringDecl << FixIts;
671 const NamedDecl *ReferringDecl,
682 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass,
688 DoEmitAvailabilityWarning(S, AR, Ctx, ReferringDecl, OffendingDecl,