Lines Matching refs:ScopePair
140 typedef std::pair<unsigned,unsigned> ScopePair; typedef
144 static ScopePair GetDiagForGotoScopeDecl(Sema &S, const Decl *D) { in GetDiagForGotoScopeDecl()
153 return ScopePair(diag::note_protected_by___block, in GetDiagForGotoScopeDecl()
157 return ScopePair(diag::note_protected_by_cleanup, in GetDiagForGotoScopeDecl()
163 return ScopePair(diag::note_protected_by_objc_strong_init, in GetDiagForGotoScopeDecl()
167 return ScopePair(diag::note_protected_by_objc_weak_init, in GetDiagForGotoScopeDecl()
171 return ScopePair(diag::note_protected_by_non_trivial_c_struct_init, in GetDiagForGotoScopeDecl()
218 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()
223 return ScopePair(isa<TypedefDecl>(TD) in GetDiagForGotoScopeDecl()
229 return ScopePair(0U, 0U); in GetDiagForGotoScopeDecl()
263 Diags = ScopePair(diag::note_enters_block_captures_cxx_obj, in BuildScopeInformation()
267 Diags = ScopePair(diag::note_enters_block_captures_strong, in BuildScopeInformation()
271 Diags = ScopePair(diag::note_enters_block_captures_weak, in BuildScopeInformation()
275 Diags = ScopePair(diag::note_enters_block_captures_non_trivial_c_struct, in BuildScopeInformation()