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()
151 return ScopePair(diag::note_protected_by_objc_ownership, in GetDiagForGotoScopeDecl()
152 diag::note_exits_objc_ownership); in GetDiagForGotoScopeDecl()
155 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl()
179 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl()
189 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl()
191 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl()
204 ? diag::note_protected_by_vla_typedef in GetDiagForGotoScopeDecl()
205 : diag::note_protected_by_vla_type_alias, in GetDiagForGotoScopeDecl()
243 Diags = ScopePair(diag::note_enters_block_captures_cxx_obj, in BuildScopeInformation()
244 diag::note_exits_block_captures_cxx_obj); in BuildScopeInformation()
247 Diags = ScopePair(diag::note_enters_block_captures_strong, in BuildScopeInformation()
248 diag::note_exits_block_captures_strong); in BuildScopeInformation()
251 Diags = ScopePair(diag::note_enters_block_captures_weak, in BuildScopeInformation()
252 diag::note_exits_block_captures_weak); in BuildScopeInformation()
322 diag::note_protected_by_cxx_try, in BuildScopeInformation()
323 diag::note_exits_cxx_try, in BuildScopeInformation()
332 diag::note_protected_by_cxx_catch, in BuildScopeInformation()
333 diag::note_exits_cxx_catch, in BuildScopeInformation()
345 diag::note_protected_by_seh_try, in BuildScopeInformation()
346 diag::note_exits_seh_try, in BuildScopeInformation()
354 diag::note_protected_by_seh_except, in BuildScopeInformation()
355 diag::note_exits_seh_except, in BuildScopeInformation()
361 diag::note_protected_by_seh_finally, in BuildScopeInformation()
362 diag::note_exits_seh_finally, in BuildScopeInformation()
417 diag::note_protected_by_objc_try, in BuildScopeInformation()
418 diag::note_exits_objc_try, in BuildScopeInformation()
427 diag::note_protected_by_objc_catch, in BuildScopeInformation()
428 diag::note_exits_objc_catch, in BuildScopeInformation()
438 diag::note_protected_by_objc_finally, in BuildScopeInformation()
439 diag::note_exits_objc_finally, in BuildScopeInformation()
459 diag::note_protected_by_objc_synchronized, in BuildScopeInformation()
460 diag::note_exits_objc_synchronized, in BuildScopeInformation()
473 diag::note_protected_by_objc_autoreleasepool, in BuildScopeInformation()
474 diag::note_exits_objc_autoreleasepool, in BuildScopeInformation()
506 diag::note_exits_temporary_dtor, in BuildScopeInformation()
529 diag::err_goto_into_protected_scope, in VerifyJumps()
530 diag::ext_goto_into_protected_scope, in VerifyJumps()
531 diag::warn_cxx98_compat_goto_into_protected_scope); in VerifyJumps()
541 diag::err_goto_into_protected_scope, in VerifyJumps()
542 diag::ext_goto_into_protected_scope, in VerifyJumps()
543 diag::warn_cxx98_compat_goto_into_protected_scope); in VerifyJumps()
559 CheckJump(SS, SC, Loc, diag::err_switch_into_protected_scope, 0, in VerifyJumps()
560 diag::warn_cxx98_compat_switch_into_protected_scope); in VerifyJumps()
591 diag::err_indirect_goto_without_addrlabel); in VerifyIndirectJumps()
707 return (JumpDiag == diag::err_goto_into_protected_scope && in IsMicrosoftJumpWarning()
708 (InDiagNote == diag::note_protected_by_variable_init || in IsMicrosoftJumpWarning()
709 InDiagNote == diag::note_protected_by_variable_nontriv_destructor)); in IsMicrosoftJumpWarning()
716 InDiagNote == diag::note_protected_by_variable_non_pod; in IsCXX98CompatWarning()
724 S.Diag(Jump->getGotoLoc(), diag::err_indirect_goto_in_protected_scope); in DiagnoseIndirectJumpStmt()
725 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJumpStmt()
770 diag::warn_cxx98_compat_indirect_goto_in_protected_scope); in DiagnoseIndirectJump()
771 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJump()
797 if (Scopes[I].InDiag == diag::note_protected_by_seh_finally) { in CheckJump()
798 S.Diag(From->getLocStart(), diag::warn_jump_out_of_seh_finally); in CheckJump()
844 S.Diag(GS->getGotoLoc(), diag::err_goto_ms_asm_label) in CheckGotoStmt()
846 S.Diag(GS->getLabel()->getLocation(), diag::note_goto_ms_asm_label) in CheckGotoStmt()