Lines Matching refs:diag
137 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()
140 return ScopePair(diag::note_protected_by___block, in GetDiagForGotoScopeDecl()
141 diag::note_exits___block); in GetDiagForGotoScopeDecl()
144 return ScopePair(diag::note_protected_by_cleanup, in GetDiagForGotoScopeDecl()
145 diag::note_exits_cleanup); in GetDiagForGotoScopeDecl()
150 return ScopePair(diag::note_protected_by_objc_strong_init, in GetDiagForGotoScopeDecl()
151 diag::note_exits_objc_strong); in GetDiagForGotoScopeDecl()
154 return ScopePair(diag::note_protected_by_objc_weak_init, in GetDiagForGotoScopeDecl()
155 diag::note_exits_objc_weak); in GetDiagForGotoScopeDecl()
158 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl()
182 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl()
192 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl()
194 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl()
207 ? diag::note_protected_by_vla_typedef in GetDiagForGotoScopeDecl()
208 : diag::note_protected_by_vla_type_alias, in GetDiagForGotoScopeDecl()
246 Diags = ScopePair(diag::note_enters_block_captures_cxx_obj, in BuildScopeInformation()
247 diag::note_exits_block_captures_cxx_obj); in BuildScopeInformation()
250 Diags = ScopePair(diag::note_enters_block_captures_strong, in BuildScopeInformation()
251 diag::note_exits_block_captures_strong); in BuildScopeInformation()
254 Diags = ScopePair(diag::note_enters_block_captures_weak, in BuildScopeInformation()
255 diag::note_exits_block_captures_weak); in BuildScopeInformation()
325 diag::note_protected_by_cxx_try, in BuildScopeInformation()
326 diag::note_exits_cxx_try, in BuildScopeInformation()
335 diag::note_protected_by_cxx_catch, in BuildScopeInformation()
336 diag::note_exits_cxx_catch, in BuildScopeInformation()
348 diag::note_protected_by_seh_try, in BuildScopeInformation()
349 diag::note_exits_seh_try, in BuildScopeInformation()
357 diag::note_protected_by_seh_except, in BuildScopeInformation()
358 diag::note_exits_seh_except, in BuildScopeInformation()
364 diag::note_protected_by_seh_finally, in BuildScopeInformation()
365 diag::note_exits_seh_finally, in BuildScopeInformation()
419 diag::note_protected_by_objc_try, in BuildScopeInformation()
420 diag::note_exits_objc_try, in BuildScopeInformation()
429 diag::note_protected_by_objc_catch, in BuildScopeInformation()
430 diag::note_exits_objc_catch, in BuildScopeInformation()
440 diag::note_protected_by_objc_finally, in BuildScopeInformation()
441 diag::note_exits_objc_finally, in BuildScopeInformation()
461 diag::note_protected_by_objc_synchronized, in BuildScopeInformation()
462 diag::note_exits_objc_synchronized, in BuildScopeInformation()
475 diag::note_protected_by_objc_autoreleasepool, in BuildScopeInformation()
476 diag::note_exits_objc_autoreleasepool, in BuildScopeInformation()
508 diag::note_exits_temporary_dtor, in BuildScopeInformation()
531 diag::err_goto_into_protected_scope, in VerifyJumps()
532 diag::ext_goto_into_protected_scope, in VerifyJumps()
533 diag::warn_cxx98_compat_goto_into_protected_scope); in VerifyJumps()
543 diag::err_goto_into_protected_scope, in VerifyJumps()
544 diag::ext_goto_into_protected_scope, in VerifyJumps()
545 diag::warn_cxx98_compat_goto_into_protected_scope); in VerifyJumps()
561 CheckJump(SS, SC, Loc, diag::err_switch_into_protected_scope, 0, in VerifyJumps()
562 diag::warn_cxx98_compat_switch_into_protected_scope); in VerifyJumps()
593 diag::err_indirect_goto_without_addrlabel); in VerifyIndirectJumps()
709 return (JumpDiag == diag::err_goto_into_protected_scope && in IsMicrosoftJumpWarning()
710 (InDiagNote == diag::note_protected_by_variable_init || in IsMicrosoftJumpWarning()
711 InDiagNote == diag::note_protected_by_variable_nontriv_destructor)); in IsMicrosoftJumpWarning()
718 InDiagNote == diag::note_protected_by_variable_non_pod; in IsCXX98CompatWarning()
726 S.Diag(Jump->getGotoLoc(), diag::err_indirect_goto_in_protected_scope); in DiagnoseIndirectJumpStmt()
727 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJumpStmt()
772 diag::warn_cxx98_compat_indirect_goto_in_protected_scope); in DiagnoseIndirectJump()
773 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJump()
799 if (Scopes[I].InDiag == diag::note_protected_by_seh_finally) { in CheckJump()
800 S.Diag(From->getLocStart(), diag::warn_jump_out_of_seh_finally); in CheckJump()
846 S.Diag(GS->getGotoLoc(), diag::err_goto_ms_asm_label) in CheckGotoStmt()
848 S.Diag(GS->getLabel()->getLocation(), diag::note_goto_ms_asm_label) in CheckGotoStmt()