Lines Matching refs:diag
64 S.FFDiag(E, diag::note_constexpr_var_init_unknown, 1) << VD; in diagnoseMissingInitializer()
65 S.Note(VD->getLocation(), diag::note_declared_at) << VD->getSourceRange(); in diagnoseMissingInitializer()
76 S.FFDiag(E, diag::note_constexpr_function_param_value_unknown) << D; in diagnoseUnknownDecl()
77 S.Note(D->getLocation(), diag::note_declared_at) << D->getSourceRange(); in diagnoseUnknownDecl()
112 S.FFDiag(Loc, diag::note_constexpr_ltor_non_const_int, 1) << VD; in diagnoseNonConstVariable()
113 S.Note(VD->getLocation(), diag::note_declared_at); in diagnoseNonConstVariable()
118 S.getLangOpts().CPlusPlus11 ? diag::note_constexpr_ltor_non_constexpr in diagnoseNonConstVariable()
119 : diag::note_constexpr_ltor_non_integral, in diagnoseNonConstVariable()
122 S.Note(VD->getLocation(), diag::note_declared_at); in diagnoseNonConstVariable()
152 S.FFDiag(Loc, diag::note_constexpr_access_inactive_union_member) in CheckActive()
170 S.FFDiag(E, diag::note_constexpr_access_static_temporary, 1) << AK; in CheckTemporary()
171 S.Note(Ptr.getDeclLoc(), diag::note_constexpr_temporary_here); in CheckTemporary()
185 S.FFDiag(S.Current->getLocation(OpPC), diag::note_constexpr_modify_global); in CheckGlobal()
267 S.FFDiag(E, diag::note_constexpr_unsized_array_indexed); in CheckArray()
277 S.FFDiag(Src, diag::note_constexpr_null_subobject) << CSK_Field; in CheckLive()
279 S.FFDiag(Src, diag::note_constexpr_access_null) << AK; in CheckLive()
288 S.FFDiag(Src, diag::note_constexpr_lifetime_ended, 1) << AK << !IsTemp; in CheckLive()
291 S.Note(Ptr.getDeclLoc(), diag::note_constexpr_temporary_here); in CheckLive()
293 S.Note(Ptr.getDeclLoc(), diag::note_declared_at); in CheckLive()
346 S.FFDiag(Loc, diag::note_constexpr_null_subobject) in CheckNull()
357 S.FFDiag(Loc, diag::note_constexpr_access_past_end) in CheckRange()
367 S.FFDiag(Loc, diag::note_constexpr_past_end_subobject) in CheckRange()
378 S.FFDiag(Loc, diag::note_constexpr_past_end_subobject) in CheckSubobject()
397 S.CCEDiag(E, diag::note_constexpr_invalid_downcast) in CheckDowncast()
427 S.FFDiag(Loc, diag::note_constexpr_modify_const_type) << Ty; in CheckConst()
444 S.FFDiag(Loc, diag::note_constexpr_access_mutable, 1) << AK_Read << Field; in CheckMutable()
445 S.Note(Field->getLocation(), diag::note_declared_at); in CheckMutable()
464 S.FFDiag(Loc, diag::note_constexpr_access_volatile_type) << AK << PtrType; in CheckVolatile()
481 S.FFDiag(Loc, diag::note_constexpr_var_init_non_constant, 1) << VD; in CheckInitialized()
482 S.Note(VD->getLocation(), diag::note_declared_at); in CheckInitialized()
490 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_access_uninit) in CheckInitialized()
507 S.FFDiag(Loc, diag::note_constexpr_var_init_non_constant, 1) << VD; in CheckGlobalInitialized()
508 S.Note(VD->getLocation(), diag::note_declared_at); in CheckGlobalInitialized()
579 S.CCEDiag(Loc, diag::note_constexpr_virtual_call); in CheckCallable()
612 S.FFDiag(Loc, diag::note_constexpr_invalid_inhctor, 1) in CheckCallable()
614 S.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckCallable()
630 S.FFDiag(Loc, diag::note_constexpr_invalid_function, 1) in CheckCallable()
632 S.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckCallable()
635 S.FFDiag(Loc, diag::note_invalid_subexpr_in_const_expr); in CheckCallable()
644 diag::note_constexpr_depth_limit_exceeded) in CheckCallDepth()
663 S.FFDiag(Loc, diag::note_constexpr_this) << IsImplicit; in CheckThis()
674 S.FFDiag(E, diag::note_constexpr_pure_virtual_call, 1) << MD; in CheckPure()
675 S.Note(MD->getLocation(), diag::note_declared_at); in CheckPure()
688 S.CCEDiag(E, diag::note_constexpr_float_arithmetic) in CheckFloatResult()
704 S.FFDiag(E, diag::note_constexpr_dynamic_rounding); in CheckFloatResult()
712 S.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in CheckFloatResult()
731 S.CCEDiag(E, diag::note_constexpr_new); in CheckDynamicMemoryAllocation()
754 S.FFDiag(E, diag::note_constexpr_new_delete_mismatch) in CheckNewDeleteForms()
756 S.Note(NewExpr->getExprLoc(), diag::note_constexpr_dynamic_alloc_here) in CheckNewDeleteForms()
768 S.FFDiag(Loc, diag::note_constexpr_delete_not_heap_alloc) in CheckDeleteSource()
772 S.Note(Ptr.getDeclLoc(), diag::note_constexpr_temporary_here); in CheckDeleteSource()
774 S.Note(Ptr.getDeclLoc(), diag::note_declared_at); in CheckDeleteSource()
801 S.FFDiag(E, diag::note_constexpr_modify_global); in CheckDummy()
817 S.CCEDiag(Loc, diag::note_non_null_attribute_failed); in CheckNonNullArgs()
917 S.report(Loc, diag::warn_constexpr_unscoped_enum_out_of_range) in diagnoseEnumValue()
922 S.report(Loc, diag::warn_constexpr_unscoped_enum_out_of_range) in diagnoseEnumValue()