Home | History | Annotate | Download | only in Sema

Lines Matching refs:diag

136       InDiag = diag::note_protected_by_vla;
139 return ScopePair(diag::note_protected_by___block,
140 diag::note_exits___block);
143 return ScopePair(diag::note_protected_by_cleanup,
144 diag::note_exits_cleanup);
150 return ScopePair(diag::note_protected_by_objc_ownership,
151 diag::note_exits_objc_ownership);
154 OutDiag = diag::note_exits_dtor;
178 InDiag = diag::note_protected_by_variable_init;
188 InDiag = diag::note_protected_by_variable_nontriv_destructor;
190 InDiag = diag::note_protected_by_variable_non_pod;
203 ? diag::note_protected_by_vla_typedef
204 : diag::note_protected_by_vla_type_alias,
242 Diags = ScopePair(diag::note_enters_block_captures_cxx_obj,
243 diag::note_exits_block_captures_cxx_obj);
246 Diags = ScopePair(diag::note_enters_block_captures_strong,
247 diag::note_exits_block_captures_strong);
250 Diags = ScopePair(diag::note_enters_block_captures_weak,
251 diag::note_exits_block_captures_weak);
321 diag::note_protected_by_cxx_try,
322 diag::note_exits_cxx_try,
331 diag::note_protected_by_cxx_catch,
332 diag::note_exits_cxx_catch,
386 diag::note_protected_by_objc_try,
387 diag::note_exits_objc_try,
396 diag::note_protected_by_objc_catch,
397 diag::note_exits_objc_catch,
407 diag::note_protected_by_objc_finally,
408 diag::note_exits_objc_finally,
427 diag::note_protected_by_objc_synchronized,
428 diag::note_exits_objc_synchronized,
440 diag::note_protected_by_objc_autoreleasepool,
441 diag::note_exits_objc_autoreleasepool,
472 diag::note_exits_temporary_dtor,
493 diag::err_goto_into_protected_scope,
494 diag::warn_goto_into_protected_scope,
495 diag::warn_cxx98_compat_goto_into_protected_scope);
503 diag::err_goto_into_protected_scope,
504 diag::warn_goto_into_protected_scope,
505 diag::warn_cxx98_compat_goto_into_protected_scope);
521 CheckJump(SS, SC, Loc, diag::err_switch_into_protected_scope, 0,
522 diag::warn_cxx98_compat_switch_into_protected_scope);
552 S.Diag(IndirectJumps[0]->getGotoLoc(),
553 diag::err_indirect_goto_without_addrlabel);
669 return (JumpDiag == diag::err_goto_into_protected_scope &&
670 (InDiagNote == diag::note_protected_by_variable_init ||
671 InDiagNote == diag::note_protected_by_variable_nontriv_destructor));
678 InDiagNote == diag::note_protected_by_variable_non_pod;
686 S.Diag(Jump->getGotoLoc(), diag::err_indirect_goto_in_protected_scope);
687 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target);
697 S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag);
715 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag);
726 S.Diag(Scopes[I].Loc, Scopes[I].InDiag);
731 S.Diag(Jump->getGotoLoc(),
732 diag::warn_cxx98_compat_indirect_goto_in_protected_scope);
733 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target);
775 S.Diag(DiagLoc, JumpDiagWarning);
781 S.Diag(DiagLoc, JumpDiagError);
787 S.Diag(DiagLoc, JumpDiagCXX98Compat);