• Home
  • Raw
  • Download

Lines Matching refs:SemaRef

652   Sema &SemaRef;  member in __anona6de94870411::DiagnoseUnguardedAvailability
663 DiagnoseUnguardedAvailability(Sema &SemaRef, Decl *Ctx) in DiagnoseUnguardedAvailability() argument
664 : SemaRef(SemaRef), Ctx(Ctx) { in DiagnoseUnguardedAvailability()
666 SemaRef.Context.getTargetInfo().getPlatformMinVersion()); in DiagnoseUnguardedAvailability()
727 SemaRef.Diag(E->getBeginLoc(), diag::warn_at_available_unchecked_use) in VisitObjCAvailabilityCheckExpr()
728 << (!SemaRef.getLangOpts().ObjC); in VisitObjCAvailabilityCheckExpr()
740 ShouldDiagnoseAvailabilityOfDecl(SemaRef, D, nullptr, ReceiverClass); in DiagnoseDeclAvailability()
748 getAttrForPlatform(SemaRef.getASTContext(), OffendingDecl); in DiagnoseDeclAvailability()
756 if (!ShouldDiagnoseAvailabilityInContext(SemaRef, Result, Introduced, Ctx, in DiagnoseDeclAvailability()
766 SemaRef.Context, in DiagnoseDeclAvailability()
767 SemaRef.Context.getTargetInfo().getPlatformMinVersion(), Introduced) in DiagnoseDeclAvailability()
772 SemaRef.getASTContext().getTargetInfo().getPlatformName())); in DiagnoseDeclAvailability()
774 SemaRef.Diag(Range.getBegin(), DiagKind) in DiagnoseDeclAvailability()
777 SemaRef.Diag(OffendingDecl->getLocation(), in DiagnoseDeclAvailability()
780 << SemaRef.Context.getTargetInfo() in DiagnoseDeclAvailability()
785 SemaRef.Diag(Range.getBegin(), diag::note_unguarded_available_silence) in DiagnoseDeclAvailability()
787 << (SemaRef.getLangOpts().ObjC ? /*@available*/ 0 in DiagnoseDeclAvailability()
818 const SourceManager &SM = SemaRef.getSourceManager(); in DiagnoseDeclAvailability()
832 FixItOS << "if (" << (SemaRef.getLangOpts().ObjC ? "@available" in DiagnoseDeclAvailability()
836 SemaRef.getASTContext().getTargetInfo().getPlatformName()) in DiagnoseDeclAvailability()
841 StmtEndLoc, tok::semi, SM, SemaRef.getLangOpts(), in DiagnoseDeclAvailability()
845 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()