Lines Matching refs:ScopePair
127 typedef std::pair<unsigned,unsigned> ScopePair; typedef
131 static ScopePair GetDiagForGotoScopeDecl(Sema &S, const Decl *D) { in GetDiagForGotoScopeDecl()
140 return ScopePair(diag::note_protected_by___block, in GetDiagForGotoScopeDecl()
144 return ScopePair(diag::note_protected_by_cleanup, in GetDiagForGotoScopeDecl()
150 return ScopePair(diag::note_protected_by_objc_strong_init, in GetDiagForGotoScopeDecl()
154 return ScopePair(diag::note_protected_by_objc_weak_init, in GetDiagForGotoScopeDecl()
201 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
206 return ScopePair(isa<TypedefDecl>(TD) in GetDiagForGotoScopeDecl()
212 return ScopePair(0U, 0U); in GetDiagForGotoScopeDecl()
246 Diags = ScopePair(diag::note_enters_block_captures_cxx_obj, in BuildScopeInformation()
250 Diags = ScopePair(diag::note_enters_block_captures_strong, in BuildScopeInformation()
254 Diags = ScopePair(diag::note_enters_block_captures_weak, in BuildScopeInformation()