Lines Matching refs:FFDiag
1035 FFDiag(Loc, diag::note_constexpr_call_limit_exceeded); in CheckCallLimit()
1040 FFDiag(Loc, diag::note_constexpr_depth_limit_exceeded) in CheckCallLimit()
1054 FFDiag(Loc, diag::note_constexpr_new_too_large) << ElemCount; in CheckArraySize()
1066 FFDiag(Loc, diag::note_constexpr_new_exceeds_limits) in CheckArraySize()
1091 FFDiag(S->getBeginLoc(), diag::note_constexpr_step_limit_exceeded); in nextStep()
1704 Info.FFDiag(E, diag::note_constexpr_access_null) << AK; in checkNullPointerForFoldAccess()
1956 FFDiag(E, diag::note_constexpr_heap_alloc_limit_exceeded); in createHeapAlloc()
2243 Info.FFDiag(Loc, diag::note_constexpr_invalid_template_arg) in CheckLValueConstantExpression()
2252 Info.FFDiag(Loc, diag::note_consteval_address_accessible) in CheckLValueConstantExpression()
2263 Info.FFDiag(Loc, diag::note_constexpr_non_global, 1) in CheckLValueConstantExpression()
2280 Info.FFDiag(Loc); in CheckLValueConstantExpression()
2290 Info.FFDiag(Loc, diag::note_constexpr_dynamic_alloc) in CheckLValueConstantExpression()
2343 Info.FFDiag(MTE->getExprLoc(), in CheckLValueConstantExpression()
2372 Info.FFDiag(Loc, diag::note_constexpr_past_end, 1) in CheckLValueConstantExpression()
2392 Info.FFDiag(Loc, diag::note_consteval_address_accessible) << /*pointer*/ 0; in CheckMemberPointerConstantExpression()
2425 Info.FFDiag(E, diag::note_constexpr_nonliteral) in CheckLiteralType()
2428 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in CheckLiteralType()
2440 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized) in CheckEvaluationResult()
2445 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized) in CheckEvaluationResult()
2486 Info.FFDiag(TypeBeginLoc, diag::note_constexpr_uninitialized_base) in CheckEvaluationResult()
2681 Info.FFDiag(E, diag::note_constexpr_dynamic_rounding); in checkFloatingPointResult()
2689 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in checkFloatingPointResult()
2696 Info.FFDiag(E); in checkFloatingPointResult()
2757 Info.FFDiag(E); in truncateBitfieldValue()
2803 Info.FFDiag(E); in handleIntIntBinOp()
2820 Info.FFDiag(E, diag::note_expr_divide_by_zero) in handleIntIntBinOp()
2923 Info.FFDiag(E); in handleFloatFloatBinOp()
3057 Info.FFDiag(E); in handleVectorVectorBinOp()
3084 Info.FFDiag(E); in handleVectorVectorBinOp()
3097 Info.FFDiag(E); in handleVectorVectorBinOp()
3249 Info.FFDiag(Loc); in HandleSizeof()
3256 Info.FFDiag(Loc); in HandleSizeof()
3341 Info.FFDiag(E->getBeginLoc(), in evaluateVarDeclInit()
3362 Info.FFDiag(E, diag::note_constexpr_function_param_value_unknown) in evaluateVarDeclInit()
3366 Info.FFDiag(E); in evaluateVarDeclInit()
3383 Info.FFDiag(E, diag::note_constexpr_var_init_unknown, 1) in evaluateVarDeclInit()
3398 Info.FFDiag(E, Info.getLangOpts().CPlusPlus11 in evaluateVarDeclInit()
3410 Info.FFDiag(E, diag::note_constexpr_var_init_non_constant, 1) << VD; in evaluateVarDeclInit()
3435 Info.FFDiag(E, diag::note_constexpr_var_init_weak) << VD; in evaluateVarDeclInit()
3583 Info.FFDiag(E, diag::note_constexpr_access_mutable, 1) << AK << Field; in diagnoseMutableFields()
3707 Info.FFDiag(E, Sub.isOnePastTheEnd() in findSubobject()
3712 Info.FFDiag(E); in findSubobject()
3728 Info.FFDiag(E, diag::note_constexpr_access_uninit) in findSubobject()
3769 Info.FFDiag(E, diag::note_constexpr_access_volatile_obj, 1) in findSubobject()
3773 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in findSubobject()
3811 Info.FFDiag(E, diag::note_constexpr_access_past_end) in findSubobject()
3814 Info.FFDiag(E); in findSubobject()
3835 Info.FFDiag(E, diag::note_constexpr_access_past_end) in findSubobject()
3838 Info.FFDiag(E); in findSubobject()
3857 Info.FFDiag(E, diag::note_constexpr_access_mutable, 1) in findSubobject()
3877 Info.FFDiag(E, diag::note_constexpr_access_inactive_union_member) in findSubobject()
3949 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
3968 Info.FFDiag(E); in found()
4057 Info.FFDiag(E); in findCompleteObject()
4062 Info.FFDiag(E, diag::note_constexpr_access_null) << AK; in findCompleteObject()
4072 Info.FFDiag(E, diag::note_constexpr_lifetime_ended, 1) in findCompleteObject()
4087 Info.FFDiag(E, diag::note_constexpr_access_volatile_type) in findCompleteObject()
4090 Info.FFDiag(E); in findCompleteObject()
4108 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4113 Info.FFDiag(E, diag::note_constexpr_unsupported_layout) in findCompleteObject()
4123 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4133 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4153 Info.FFDiag(E); in findCompleteObject()
4177 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4182 Info.FFDiag(E); in findCompleteObject()
4189 Info.FFDiag(E, diag::note_constexpr_ltor_non_const_int, 1) << VD; in findCompleteObject()
4192 Info.FFDiag(E); in findCompleteObject()
4217 Info.FFDiag(E, Info.getLangOpts().CPlusPlus11 in findCompleteObject()
4223 Info.FFDiag(E); in findCompleteObject()
4234 Info.FFDiag(E, diag::note_constexpr_access_deleted_object) << AK; in findCompleteObject()
4277 Info.FFDiag(E, diag::note_constexpr_access_static_temporary, 1) << AK; in findCompleteObject()
4289 Info.FFDiag(E, diag::note_constexpr_access_unreadable_object) in findCompleteObject()
4354 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4378 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4395 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4400 Info.FFDiag(Conv, diag::note_constexpr_access_past_end) << AK; in handleLValueToRValueConversion()
4402 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4422 Info.FFDiag(E); in handleAssignment()
4445 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
4461 Info.FFDiag(E); in found()
4468 Info.FFDiag(E, diag::note_constexpr_access_uninit) in found()
4474 Info.FFDiag(E); in found()
4484 Info.FFDiag(E); in foundVector()
4497 Info.FFDiag(E); in found()
4519 Info.FFDiag(E); in found()
4539 Info.FFDiag(E); in foundPointer()
4570 Info.FFDiag(E); in handleCompoundAssignment()
4592 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
4624 Info.FFDiag(E); in found()
4635 Info.FFDiag(E); in found()
4694 Info.FFDiag(E); in foundPointer()
4716 Info.FFDiag(E); in handleIncDec()
4741 Info.FFDiag(Object, diag::note_constexpr_nonliteral) << Object->getType(); in EvaluateObjectArgument()
4769 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4779 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4789 Info.FFDiag(RHS); in HandleMemberPointerAccess()
5152 Info.FFDiag(Found->getBeginLoc(), in EvaluateSwitch()
5319 Info.FFDiag(S->getBeginLoc()) << S->getSourceRange(); in EvaluateStmt()
5688 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5700 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5726 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction()
5729 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_function, 1) in CheckConstexprFunction()
5733 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5767 Info.FFDiag(E, This.Designator.isOnePastTheEnd() in checkDynamicType()
5779 Info.FFDiag(E, diag::note_constexpr_polymorphic_unknown_dynamic_type) in checkDynamicType()
5837 Info.FFDiag(E); in ComputeDynamicType()
5870 Info.FFDiag(E); in ComputeDynamicType()
5904 Info.FFDiag(E, diag::note_constexpr_pure_virtual_call, 1) << Callee; in HandleVirtualDispatch()
6033 Info.FFDiag(E, diag::note_constexpr_dynamic_cast_to_reference_failed) in HandleDynamicCast()
6105 Info.FFDiag(LHSExpr, in found()
6303 Info.FFDiag(E); in handleTrivialCopy()
6365 Info.FFDiag(Callee->getEndLoc(), diag::note_constexpr_no_return); in HandleFunctionCall()
6381 Info.FFDiag(CallLoc, diag::note_constexpr_virtual_base) << RD; in HandleConstructorCall()
6608 Info.FFDiag(CallRange.getBegin(), in HandleDestructionImpl()
6652 Info.FFDiag(CallRange.getBegin(), in HandleDestructionImpl()
6663 Info.FFDiag(CallRange.getBegin(), diag::note_constexpr_virtual_base) << RD; in HandleDestructionImpl()
6669 Info.FFDiag(CallRange.getBegin()); in HandleDestructionImpl()
6712 Info.FFDiag(CallRange.getBegin(), diag::note_constexpr_double_destroy); in HandleDestructionImpl()
6785 Info.FFDiag(E, diag::note_constexpr_destroy_complex_elem); in found()
6789 Info.FFDiag(E, diag::note_constexpr_destroy_complex_elem); in found()
6828 Info.FFDiag(E->getExprLoc(), Info.getLangOpts().CPlusPlus20 in HandleOperatorNewCall()
6836 Info.FFDiag(E->getExprLoc(), in HandleOperatorNewCall()
6859 Info.FFDiag(E->getExprLoc(), diag::note_constexpr_operator_new_bad_size) in HandleOperatorNewCall()
6909 Info.FFDiag(E, diag::note_constexpr_delete_not_heap_alloc) in CheckDeleteKind()
6918 Info.FFDiag(E, diag::note_constexpr_double_delete); in CheckDeleteKind()
6924 Info.FFDiag(E, diag::note_constexpr_new_delete_mismatch) in CheckDeleteKind()
6939 Info.FFDiag(E, diag::note_constexpr_delete_subobject) in CheckDeleteKind()
6955 Info.FFDiag(E->getExprLoc()); in HandleOperatorDeleteCall()
7084 Info.FFDiag(BCE->getBeginLoc(), in visit()
7116 Info.FFDiag(BCE->getBeginLoc(), in visitRecord()
7176 Info.FFDiag(BCE->getBeginLoc(), in visitVector()
7188 Info.FFDiag(BCE->getBeginLoc(), in visitVector()
7274 Info.FFDiag(BCE->getBeginLoc(), in unsupportedType()
7281 Info.FFDiag(BCE->getBeginLoc(), in unrepresentableValue()
7321 Info.FFDiag(BCE->getExprLoc(), in visit()
7387 Info.FFDiag(BCE->getBeginLoc(), in visit()
7447 Info.FFDiag(BCE->getBeginLoc(), in visit()
7458 Info.FFDiag(BCE->getBeginLoc(), in visit()
7551 Info->FFDiag(Loc, diag::note_constexpr_bit_cast_invalid_type) in checkBitCastConstexprEligibilityType()
7734 Info.FFDiag(E, D) << E->getSourceRange(); in Error()
7985 Info.FFDiag(Callee, diag::note_constexpr_null_callee) in handleCallExpr()
8302 Info.FFDiag((*BI)->getBeginLoc(), in VisitStmtExpr()
8317 Info.FFDiag((*BI)->getBeginLoc(), in VisitStmtExpr()
8692 Info.FFDiag(E, diag::note_constexpr_use_uninit_reference); in VisitVarDecl()
9119 Info.FFDiag(E, diag::note_constexpr_this) << E->isImplicit(); in VisitCXXThisExpr()
9121 Info.FFDiag(E); in VisitCXXThisExpr()
9471 Info.FFDiag(E, diag::note_constexpr_invalid_alignment) << Alignment; in getAlignmentArgument()
9477 Info.FFDiag(E, diag::note_constexpr_alignment_too_big) in getAlignmentArgument()
9615 Info.FFDiag(E->getArg(0), diag::note_constexpr_alignment_adjust) in VisitBuiltinCallExpr()
9668 Info.FFDiag(E, diag::note_constexpr_ltor_incomplete_type) << CharTy; in VisitBuiltinCallExpr()
9674 Info.FFDiag(E, diag::note_constexpr_memchr_unsupported) in VisitBuiltinCallExpr()
9780 Info.FFDiag(E, diag::note_constexpr_memcpy_null) in VisitBuiltinCallExpr()
9795 Info.FFDiag(E, diag::note_constexpr_memcpy_type_pun) << Move << SrcT << T; in VisitBuiltinCallExpr()
9799 Info.FFDiag(E, diag::note_constexpr_memcpy_incomplete_type) << Move << T; in VisitBuiltinCallExpr()
9803 Info.FFDiag(E, diag::note_constexpr_memcpy_nontrivial) << Move << T; in VisitBuiltinCallExpr()
9816 Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported) in VisitBuiltinCallExpr()
9829 Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported) in VisitBuiltinCallExpr()
9845 Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar; in VisitBuiltinCallExpr()
9856 Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar; in VisitBuiltinCallExpr()
9913 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXNewExpr()
9963 Info.FFDiag(*ArraySize, diag::note_constexpr_new_negative) in VisitCXXNewExpr()
10001 Info.FFDiag(*ArraySize, diag::note_constexpr_new_too_small) in VisitCXXNewExpr()
10037 Info.FFDiag(E, diag::note_constexpr_placement_new_wrong_type) << in VisitCXXNewExpr()
10045 Info.FFDiag(E, diag::note_constexpr_construct_complex_elem); in VisitCXXNewExpr()
10049 Info.FFDiag(E, diag::note_constexpr_construct_complex_elem); in VisitCXXNewExpr()
10302 Info.FFDiag(E, diag::note_constexpr_virtual_base) << RD; in ZeroInitialization()
10456 Info.FFDiag(Init, diag::note_constexpr_unsupported_flexible_array); in VisitCXXParenListOrInitListExpr()
10791 Info.FFDiag(E, diag::note_constexpr_invalid_cast) in VisitCastExpr()
11024 Info.FFDiag(E, diag::err_convertvector_constexpr_unsupported_vector_cast) in handleVectorElementCast()
11068 Info.FFDiag( in handleVectorShuffle()
11612 Info.FFDiag(E); in VisitArrayInitIndexExpr()
11717 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvaluateInteger()
12395 Info.FFDiag(E->getArg(0)); in getBuiltinAlignArguments()
12478 Info.FFDiag(E->getArg(0), diag::note_constexpr_alignment_compute) in VisitBuiltinCallExpr()
12593 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in VisitBuiltinCallExpr()
12887 Info.FFDiag(E, diag::note_constexpr_memcmp_unsupported) in VisitBuiltinCallExpr()
13531 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvaluateComparisonBinaryOperator()
13631 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in EvaluateComparisonBinaryOperator()
13666 Info.FFDiag(E, DiagID) in EvaluateComparisonBinaryOperator()
13818 Info.FFDiag(E, diag::note_constexpr_mem_pointer_weak_comparison) in EvaluateComparisonBinaryOperator()
13823 Info.FFDiag(E, diag::note_constexpr_mem_pointer_weak_comparison) in EvaluateComparisonBinaryOperator()
14021 Info.FFDiag(E, diag::note_constexpr_pointer_subtraction_zero_size) in VisitBinaryOperator()
14651 Info.FFDiag(E, diag::note_expr_divide_by_zero); in VisitBinaryOperator()
15657 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXDeleteExpr()
15690 Info.FFDiag(E, diag::note_constexpr_delete_base_nonvirt_dtor) in VisitCXXDeleteExpr()
15701 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXDeleteExpr()
15716 Info.FFDiag(E, diag::note_constexpr_double_delete); in VisitCXXDeleteExpr()
15806 Info.FFDiag(E, diag::note_constexpr_nonliteral) << E->getType(); in Evaluate()
15809 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in Evaluate()