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