Lines Matching refs:FFDiag

994         FFDiag(Loc, diag::note_constexpr_call_limit_exceeded);  in CheckCallLimit()
999 FFDiag(Loc, diag::note_constexpr_depth_limit_exceeded) in CheckCallLimit()
1022 FFDiag(S->getBeginLoc(), diag::note_constexpr_step_limit_exceeded); in nextStep()
1640 Info.FFDiag(E, diag::note_constexpr_access_null) << AK; in checkNullPointerForFoldAccess()
1889 FFDiag(E, diag::note_constexpr_heap_alloc_limit_exceeded); in createHeapAlloc()
2146 Info.FFDiag(Loc, diag::note_constexpr_invalid_template_arg) in CheckLValueConstantExpression()
2155 Info.FFDiag(Loc, diag::note_consteval_address_accessible) in CheckLValueConstantExpression()
2168 Info.FFDiag(Loc, diag::note_constexpr_non_global, 1) in CheckLValueConstantExpression()
2186 Info.FFDiag(Loc); in CheckLValueConstantExpression()
2196 Info.FFDiag(Loc, diag::note_constexpr_dynamic_alloc) in CheckLValueConstantExpression()
2236 Info.FFDiag(MTE->getExprLoc(), in CheckLValueConstantExpression()
2265 Info.FFDiag(Loc, diag::note_constexpr_past_end, 1) in CheckLValueConstantExpression()
2285 Info.FFDiag(Loc, diag::note_consteval_address_accessible) << /*pointer*/ 0; in CheckMemberPointerConstantExpression()
2318 Info.FFDiag(E, diag::note_constexpr_nonliteral) in CheckLiteralType()
2321 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in CheckLiteralType()
2332 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized) in CheckEvaluationResult()
2561 Info.FFDiag(E, diag::note_constexpr_dynamic_rounding); in checkFloatingPointResult()
2569 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in checkFloatingPointResult()
2576 Info.FFDiag(E); in checkFloatingPointResult()
2624 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in HandleIntToFloatCast()
2639 Info.FFDiag(E); in truncateBitfieldValue()
2681 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvalAndBitcastToAPInt()
2694 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvalAndBitcastToAPInt()
2730 Info.FFDiag(E); in handleIntIntBinOp()
2747 Info.FFDiag(E, diag::note_expr_divide_by_zero); in handleIntIntBinOp()
2835 Info.FFDiag(E); in handleFloatFloatBinOp()
2964 Info.FFDiag(E); in handleVectorVectorBinOp()
2991 Info.FFDiag(E); in handleVectorVectorBinOp()
3004 Info.FFDiag(E); in handleVectorVectorBinOp()
3151 Info.FFDiag(Loc); in HandleSizeof()
3158 Info.FFDiag(Loc); in HandleSizeof()
3240 Info.FFDiag(E->getBeginLoc(), in evaluateVarDeclInit()
3261 Info.FFDiag(E, diag::note_constexpr_function_param_value_unknown) in evaluateVarDeclInit()
3265 Info.FFDiag(E); in evaluateVarDeclInit()
3279 Info.FFDiag(E, diag::note_constexpr_var_init_unknown, 1) in evaluateVarDeclInit()
3294 Info.FFDiag(E, Info.getLangOpts().CPlusPlus11 in evaluateVarDeclInit()
3306 Info.FFDiag(E, diag::note_constexpr_var_init_non_constant, 1) << VD; in evaluateVarDeclInit()
3331 Info.FFDiag(E, diag::note_constexpr_var_init_weak) << VD; in evaluateVarDeclInit()
3480 Info.FFDiag(E, diag::note_constexpr_access_mutable, 1) << AK << Field; in diagnoseMutableFields()
3596 Info.FFDiag(E, Sub.isOnePastTheEnd() in findSubobject()
3601 Info.FFDiag(E); in findSubobject()
3617 Info.FFDiag(E, diag::note_constexpr_access_uninit) in findSubobject()
3657 Info.FFDiag(E, diag::note_constexpr_access_volatile_obj, 1) in findSubobject()
3661 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in findSubobject()
3699 Info.FFDiag(E, diag::note_constexpr_access_past_end) in findSubobject()
3702 Info.FFDiag(E); in findSubobject()
3720 Info.FFDiag(E, diag::note_constexpr_access_past_end) in findSubobject()
3723 Info.FFDiag(E); in findSubobject()
3742 Info.FFDiag(E, diag::note_constexpr_access_mutable, 1) in findSubobject()
3762 Info.FFDiag(E, diag::note_constexpr_access_inactive_union_member) in findSubobject()
3834 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
3853 Info.FFDiag(E); in found()
3942 Info.FFDiag(E); in findCompleteObject()
3947 Info.FFDiag(E, diag::note_constexpr_access_null) << AK; in findCompleteObject()
3957 Info.FFDiag(E, diag::note_constexpr_lifetime_ended, 1) in findCompleteObject()
3972 Info.FFDiag(E, diag::note_constexpr_access_volatile_type) in findCompleteObject()
3975 Info.FFDiag(E); in findCompleteObject()
3993 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
3998 Info.FFDiag(E, diag::note_constexpr_unsupported_layout) in findCompleteObject()
4008 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4028 Info.FFDiag(E); in findCompleteObject()
4048 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4057 Info.FFDiag(E, diag::note_constexpr_ltor_non_const_int, 1) << VD; in findCompleteObject()
4060 Info.FFDiag(E); in findCompleteObject()
4085 Info.FFDiag(E, Info.getLangOpts().CPlusPlus11 in findCompleteObject()
4091 Info.FFDiag(E); in findCompleteObject()
4102 Info.FFDiag(E, diag::note_constexpr_access_deleted_object) << AK; in findCompleteObject()
4145 Info.FFDiag(E, diag::note_constexpr_access_static_temporary, 1) << AK; in findCompleteObject()
4157 Info.FFDiag(E, diag::note_constexpr_access_unreadable_object) in findCompleteObject()
4222 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4239 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4244 Info.FFDiag(Conv, diag::note_constexpr_access_past_end) << AK; in handleLValueToRValueConversion()
4246 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4266 Info.FFDiag(E); in handleAssignment()
4289 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
4305 Info.FFDiag(E); in found()
4313 Info.FFDiag(E); in found()
4323 Info.FFDiag(E); in foundVector()
4336 Info.FFDiag(E); in found()
4358 Info.FFDiag(E); in found()
4378 Info.FFDiag(E); in foundPointer()
4409 Info.FFDiag(E); in handleCompoundAssignment()
4431 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
4463 Info.FFDiag(E); in found()
4474 Info.FFDiag(E); in found()
4531 Info.FFDiag(E); in foundPointer()
4553 Info.FFDiag(E); in handleIncDec()
4575 Info.FFDiag(Object, diag::note_constexpr_nonliteral) << Object->getType(); in EvaluateObjectArgument()
4603 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4613 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4623 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4972 Info.FFDiag(Found->getBeginLoc(), in EvaluateSwitch()
5123 Info.FFDiag(S->getBeginLoc()); in EvaluateStmt()
5445 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5457 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5481 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction()
5484 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_function, 1) in CheckConstexprFunction()
5488 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5522 Info.FFDiag(E, This.Designator.isOnePastTheEnd() in checkDynamicType()
5534 Info.FFDiag(E, diag::note_constexpr_polymorphic_unknown_dynamic_type) in checkDynamicType()
5590 Info.FFDiag(E); in ComputeDynamicType()
5623 Info.FFDiag(E); in ComputeDynamicType()
5657 Info.FFDiag(E, diag::note_constexpr_pure_virtual_call, 1) << Callee; in HandleVirtualDispatch()
5786 Info.FFDiag(E, diag::note_constexpr_dynamic_cast_to_reference_failed) in HandleDynamicCast()
5858 Info.FFDiag(LHSExpr, in found()
6049 Info.FFDiag(E); in handleTrivialCopy()
6114 Info.FFDiag(Callee->getEndLoc(), diag::note_constexpr_no_return); in HandleFunctionCall()
6130 Info.FFDiag(CallLoc, diag::note_constexpr_virtual_base) << RD; in HandleConstructorCall()
6356 Info.FFDiag(CallLoc, diag::note_constexpr_destroy_out_of_lifetime) in HandleDestructionImpl()
6396 Info.FFDiag(CallLoc, diag::note_constexpr_unsupported_destruction) << T; in HandleDestructionImpl()
6405 Info.FFDiag(CallLoc, diag::note_constexpr_virtual_base) << RD; in HandleDestructionImpl()
6411 Info.FFDiag(CallLoc); in HandleDestructionImpl()
6453 Info.FFDiag(CallLoc, diag::note_constexpr_double_destroy); in HandleDestructionImpl()
6526 Info.FFDiag(E, diag::note_constexpr_destroy_complex_elem); in found()
6530 Info.FFDiag(E, diag::note_constexpr_destroy_complex_elem); in found()
6569 Info.FFDiag(E->getExprLoc(), Info.getLangOpts().CPlusPlus20 in HandleOperatorNewCall()
6577 Info.FFDiag(E->getExprLoc(), in HandleOperatorNewCall()
6600 Info.FFDiag(E->getExprLoc(), diag::note_constexpr_operator_new_bad_size) in HandleOperatorNewCall()
6611 Info.FFDiag(E, diag::note_constexpr_new_too_large) << APSInt(Size, true); in HandleOperatorNewCall()
6651 Info.FFDiag(E, diag::note_constexpr_delete_not_heap_alloc) in CheckDeleteKind()
6660 Info.FFDiag(E, diag::note_constexpr_double_delete); in CheckDeleteKind()
6666 Info.FFDiag(E, diag::note_constexpr_new_delete_mismatch) in CheckDeleteKind()
6681 Info.FFDiag(E, diag::note_constexpr_delete_subobject) in CheckDeleteKind()
6697 Info.FFDiag(E->getExprLoc()); in HandleOperatorDeleteCall()
6823 Info.FFDiag(BCE->getBeginLoc(), in visit()
6855 Info.FFDiag(BCE->getBeginLoc(), in visitRecord()
6947 Info.FFDiag(BCE->getBeginLoc(), in unsupportedType()
6954 Info.FFDiag(BCE->getBeginLoc(), in unrepresentableValue()
6994 Info.FFDiag(BCE->getExprLoc(), in visit()
7063 Info.FFDiag(BCE->getBeginLoc(), in visit()
7156 Info->FFDiag(Loc, diag::note_constexpr_bit_cast_invalid_type) in checkBitCastConstexprEligibilityType()
7324 Info.FFDiag(E, D); in Error()
7860 Info.FFDiag((*BI)->getBeginLoc(), in VisitStmtExpr()
7875 Info.FFDiag((*BI)->getBeginLoc(), in VisitStmtExpr()
8209 Info.FFDiag(E, diag::note_constexpr_use_uninit_reference); in VisitVarDecl()
8616 Info.FFDiag(E, diag::note_constexpr_this) << E->isImplicit(); in VisitCXXThisExpr()
8618 Info.FFDiag(E); in VisitCXXThisExpr()
8894 Info.FFDiag(E, diag::note_constexpr_invalid_alignment) << Alignment; in getAlignmentArgument()
8900 Info.FFDiag(E, diag::note_constexpr_alignment_too_big) in getAlignmentArgument()
9037 Info.FFDiag(E->getArg(0), diag::note_constexpr_alignment_adjust) in VisitBuiltinCallExpr()
9090 Info.FFDiag(E, diag::note_constexpr_ltor_incomplete_type) << CharTy; in VisitBuiltinCallExpr()
9096 Info.FFDiag(E, diag::note_constexpr_memchr_unsupported) in VisitBuiltinCallExpr()
9202 Info.FFDiag(E, diag::note_constexpr_memcpy_null) in VisitBuiltinCallExpr()
9217 Info.FFDiag(E, diag::note_constexpr_memcpy_type_pun) << Move << SrcT << T; in VisitBuiltinCallExpr()
9221 Info.FFDiag(E, diag::note_constexpr_memcpy_incomplete_type) << Move << T; in VisitBuiltinCallExpr()
9225 Info.FFDiag(E, diag::note_constexpr_memcpy_nontrivial) << Move << T; in VisitBuiltinCallExpr()
9236 Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported) in VisitBuiltinCallExpr()
9249 Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported) in VisitBuiltinCallExpr()
9265 Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar; in VisitBuiltinCallExpr()
9276 Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar; in VisitBuiltinCallExpr()
9335 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXNewExpr()
9385 Info.FFDiag(*ArraySize, diag::note_constexpr_new_negative) in VisitCXXNewExpr()
9398 Info.FFDiag(*ArraySize, diag::note_constexpr_new_too_large) in VisitCXXNewExpr()
9425 Info.FFDiag(*ArraySize, diag::note_constexpr_new_too_small) in VisitCXXNewExpr()
9461 Info.FFDiag(E, diag::note_constexpr_placement_new_wrong_type) << in VisitCXXNewExpr()
9469 Info.FFDiag(E, diag::note_constexpr_construct_complex_elem); in VisitCXXNewExpr()
9473 Info.FFDiag(E, diag::note_constexpr_construct_complex_elem); in VisitCXXNewExpr()
9723 Info.FFDiag(E, diag::note_constexpr_virtual_base) << RD; in ZeroInitialization()
9945 Info.FFDiag(E, diag::note_constexpr_unsupported_layout) in VisitCXXStdInitializerListExpr()
10684 Info.FFDiag(E); in VisitArrayInitIndexExpr()
10785 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvaluateInteger()
11448 Info.FFDiag(E->getArg(0)); in getBuiltinAlignArguments()
11531 Info.FFDiag(E->getArg(0), diag::note_constexpr_alignment_compute) in VisitBuiltinCallExpr()
11621 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in VisitBuiltinCallExpr()
11897 Info.FFDiag(E, diag::note_constexpr_memcmp_unsupported) in VisitBuiltinCallExpr()
12490 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvaluateComparisonBinaryOperator()
12590 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in EvaluateComparisonBinaryOperator()
12625 Info.FFDiag(E, diag::note_constexpr_pointer_comparison_unspecified); in EvaluateComparisonBinaryOperator()
12942 Info.FFDiag(E, diag::note_constexpr_pointer_subtraction_zero_size) in VisitBinaryOperator()
13486 Info.FFDiag(E, diag::note_expr_divide_by_zero); in VisitBinaryOperator()
14405 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXDeleteExpr()
14438 Info.FFDiag(E, diag::note_constexpr_delete_base_nonvirt_dtor) in VisitCXXDeleteExpr()
14449 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXDeleteExpr()
14464 Info.FFDiag(E, diag::note_constexpr_double_delete); in VisitCXXDeleteExpr()
14553 Info.FFDiag(E, diag::note_constexpr_nonliteral) << E->getType(); in Evaluate()
14556 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in Evaluate()