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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 7816   if (const AvailabilityAttr *AA = getAttrForPlatform(S.Context, OffendingDecl))
 7819   if (!ShouldDiagnoseAvailabilityInContext(S, K, DeclVersion, Ctx,
 7827   const AvailabilityAttr *A = getAttrForPlatform(S.Context, OffendingDecl);
 7832           getAttrForPlatform(S.Context, Redecl);
 7849         getAttrForPlatform(S.getASTContext(), OffendingDecl);
 7853         S.Context, S.Context.getTargetInfo().getPlatformMinVersion(),
 7853         S.Context, S.Context.getTargetInfo().getPlatformMinVersion(),
 7859         S.getASTContext().getTargetInfo().getPlatformName());
 7861     S.Diag(Loc, Warning) << OffendingDecl << PlatformName
 7864     S.Diag(OffendingDecl->getLocation(),
 7867         << S.Context.getTargetInfo().getPlatformMinVersion().getAsString();
 7872           S.Diag(TD->getLocation(),
 7878           S.Diag(Enclosing->getLocation(),
 7884       if (!S.getPreprocessor().isMacroDefined("API_AVAILABLE"))
 7887           Enclosing, S.getSourceManager(), S.getLangOpts());
 7887           Enclosing, S.getSourceManager(), S.getLangOpts());
 7892               S.getASTContext().getTargetInfo().getPlatformName())
 7928           if (S.getLangOpts().ObjCAutoRefCount &&
 7929               S.getSourceManager().isInSystemHeader(
 7943           if (S.getLangOpts().ObjCWeakRuntime)
 7977     if (auto AL = getAttrForPlatform(S.Context, OffendingDecl))
 7983           CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc));
 7989             Replacement, SelectorSlotNames, S.getLangOpts());
 7995                   Locs[I], S.getLocForEndOfToken(Locs[I]));
 8010     S.Diag(Loc, diag_message) << ReferringDecl << Message << FixIts;
 8012       S.Diag(ObjCProperty->getLocation(), diag::note_property_attribute)
 8015     S.Diag(Loc, diag) << ReferringDecl << FixIts;
 8017       S.Diag(ObjCProperty->getLocation(), diag::note_property_attribute)
 8020     S.Diag(Loc, diag_fwdclass_message) << ReferringDecl << FixIts;
 8021     S.Diag(UnknownObjCClass->getLocation(), diag::note_forward_class);
 8024   S.Diag(NoteLocation, diag_available_here)