Lines Matching refs:FFDiag

1002         FFDiag(Loc, diag::note_constexpr_call_limit_exceeded);  in CheckCallLimit()
1007 FFDiag(Loc, diag::note_constexpr_depth_limit_exceeded) in CheckCallLimit()
1030 FFDiag(S->getBeginLoc(), diag::note_constexpr_step_limit_exceeded); in nextStep()
1642 Info.FFDiag(E, diag::note_constexpr_access_null) << AK; in checkNullPointerForFoldAccess()
1893 FFDiag(E, diag::note_constexpr_heap_alloc_limit_exceeded); in createHeapAlloc()
2156 Info.FFDiag(Loc, diag::note_constexpr_invalid_template_arg) in CheckLValueConstantExpression()
2165 Info.FFDiag(Loc, diag::note_consteval_address_accessible) in CheckLValueConstantExpression()
2178 Info.FFDiag(Loc, diag::note_constexpr_non_global, 1) in CheckLValueConstantExpression()
2196 Info.FFDiag(Loc); in CheckLValueConstantExpression()
2206 Info.FFDiag(Loc, diag::note_constexpr_dynamic_alloc) in CheckLValueConstantExpression()
2259 Info.FFDiag(MTE->getExprLoc(), in CheckLValueConstantExpression()
2288 Info.FFDiag(Loc, diag::note_constexpr_past_end, 1) in CheckLValueConstantExpression()
2308 Info.FFDiag(Loc, diag::note_consteval_address_accessible) << /*pointer*/ 0; in CheckMemberPointerConstantExpression()
2341 Info.FFDiag(E, diag::note_constexpr_nonliteral) in CheckLiteralType()
2344 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in CheckLiteralType()
2355 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized) in CheckEvaluationResult()
2581 Info.FFDiag(E, diag::note_constexpr_dynamic_rounding); in checkFloatingPointResult()
2589 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in checkFloatingPointResult()
2596 Info.FFDiag(E); in checkFloatingPointResult()
2643 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in HandleIntToFloatCast()
2658 Info.FFDiag(E); in truncateBitfieldValue()
2700 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvalAndBitcastToAPInt()
2713 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvalAndBitcastToAPInt()
2748 Info.FFDiag(E); in handleIntIntBinOp()
2765 Info.FFDiag(E, diag::note_expr_divide_by_zero); in handleIntIntBinOp()
2852 Info.FFDiag(E); in handleFloatFloatBinOp()
2986 Info.FFDiag(E); in handleVectorVectorBinOp()
3013 Info.FFDiag(E); in handleVectorVectorBinOp()
3026 Info.FFDiag(E); in handleVectorVectorBinOp()
3173 Info.FFDiag(Loc); in HandleSizeof()
3180 Info.FFDiag(Loc); in HandleSizeof()
3262 Info.FFDiag(E->getBeginLoc(), in evaluateVarDeclInit()
3283 Info.FFDiag(E, diag::note_constexpr_function_param_value_unknown) in evaluateVarDeclInit()
3287 Info.FFDiag(E); in evaluateVarDeclInit()
3301 Info.FFDiag(E, diag::note_constexpr_var_init_unknown, 1) in evaluateVarDeclInit()
3316 Info.FFDiag(E, Info.getLangOpts().CPlusPlus11 in evaluateVarDeclInit()
3328 Info.FFDiag(E, diag::note_constexpr_var_init_non_constant, 1) << VD; in evaluateVarDeclInit()
3353 Info.FFDiag(E, diag::note_constexpr_var_init_weak) << VD; in evaluateVarDeclInit()
3502 Info.FFDiag(E, diag::note_constexpr_access_mutable, 1) << AK << Field; in diagnoseMutableFields()
3618 Info.FFDiag(E, Sub.isOnePastTheEnd() in findSubobject()
3623 Info.FFDiag(E); in findSubobject()
3639 Info.FFDiag(E, diag::note_constexpr_access_uninit) in findSubobject()
3679 Info.FFDiag(E, diag::note_constexpr_access_volatile_obj, 1) in findSubobject()
3683 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in findSubobject()
3721 Info.FFDiag(E, diag::note_constexpr_access_past_end) in findSubobject()
3724 Info.FFDiag(E); in findSubobject()
3742 Info.FFDiag(E, diag::note_constexpr_access_past_end) in findSubobject()
3745 Info.FFDiag(E); in findSubobject()
3764 Info.FFDiag(E, diag::note_constexpr_access_mutable, 1) in findSubobject()
3784 Info.FFDiag(E, diag::note_constexpr_access_inactive_union_member) in findSubobject()
3856 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
3875 Info.FFDiag(E); in found()
3964 Info.FFDiag(E); in findCompleteObject()
3969 Info.FFDiag(E, diag::note_constexpr_access_null) << AK; in findCompleteObject()
3979 Info.FFDiag(E, diag::note_constexpr_lifetime_ended, 1) in findCompleteObject()
3994 Info.FFDiag(E, diag::note_constexpr_access_volatile_type) in findCompleteObject()
3997 Info.FFDiag(E); in findCompleteObject()
4015 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4020 Info.FFDiag(E, diag::note_constexpr_unsupported_layout) in findCompleteObject()
4030 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4040 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4060 Info.FFDiag(E); in findCompleteObject()
4080 Info.FFDiag(E, diag::note_constexpr_modify_global); in findCompleteObject()
4089 Info.FFDiag(E, diag::note_constexpr_ltor_non_const_int, 1) << VD; in findCompleteObject()
4092 Info.FFDiag(E); in findCompleteObject()
4117 Info.FFDiag(E, Info.getLangOpts().CPlusPlus11 in findCompleteObject()
4123 Info.FFDiag(E); in findCompleteObject()
4134 Info.FFDiag(E, diag::note_constexpr_access_deleted_object) << AK; in findCompleteObject()
4177 Info.FFDiag(E, diag::note_constexpr_access_static_temporary, 1) << AK; in findCompleteObject()
4189 Info.FFDiag(E, diag::note_constexpr_access_unreadable_object) in findCompleteObject()
4254 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4278 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4295 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4300 Info.FFDiag(Conv, diag::note_constexpr_access_past_end) << AK; in handleLValueToRValueConversion()
4302 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4322 Info.FFDiag(E); in handleAssignment()
4345 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
4361 Info.FFDiag(E); in found()
4369 Info.FFDiag(E); in found()
4379 Info.FFDiag(E); in foundVector()
4392 Info.FFDiag(E); in found()
4414 Info.FFDiag(E); in found()
4434 Info.FFDiag(E); in foundPointer()
4465 Info.FFDiag(E); in handleCompoundAssignment()
4487 Info.FFDiag(E, diag::note_constexpr_modify_const_type) << QT; in checkConst()
4519 Info.FFDiag(E); in found()
4530 Info.FFDiag(E); in found()
4587 Info.FFDiag(E); in foundPointer()
4609 Info.FFDiag(E); in handleIncDec()
4631 Info.FFDiag(Object, diag::note_constexpr_nonliteral) << Object->getType(); in EvaluateObjectArgument()
4659 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4669 Info.FFDiag(RHS); in HandleMemberPointerAccess()
4679 Info.FFDiag(RHS); in HandleMemberPointerAccess()
5033 Info.FFDiag(Found->getBeginLoc(), in EvaluateSwitch()
5198 Info.FFDiag(S->getBeginLoc()); in EvaluateStmt()
5538 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5550 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5574 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction()
5577 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_function, 1) in CheckConstexprFunction()
5581 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5615 Info.FFDiag(E, This.Designator.isOnePastTheEnd() in checkDynamicType()
5627 Info.FFDiag(E, diag::note_constexpr_polymorphic_unknown_dynamic_type) in checkDynamicType()
5683 Info.FFDiag(E); in ComputeDynamicType()
5716 Info.FFDiag(E); in ComputeDynamicType()
5750 Info.FFDiag(E, diag::note_constexpr_pure_virtual_call, 1) << Callee; in HandleVirtualDispatch()
5879 Info.FFDiag(E, diag::note_constexpr_dynamic_cast_to_reference_failed) in HandleDynamicCast()
5951 Info.FFDiag(LHSExpr, in found()
6142 Info.FFDiag(E); in handleTrivialCopy()
6204 Info.FFDiag(Callee->getEndLoc(), diag::note_constexpr_no_return); in HandleFunctionCall()
6220 Info.FFDiag(CallLoc, diag::note_constexpr_virtual_base) << RD; in HandleConstructorCall()
6446 Info.FFDiag(CallLoc, diag::note_constexpr_destroy_out_of_lifetime) in HandleDestructionImpl()
6486 Info.FFDiag(CallLoc, diag::note_constexpr_unsupported_destruction) << T; in HandleDestructionImpl()
6495 Info.FFDiag(CallLoc, diag::note_constexpr_virtual_base) << RD; in HandleDestructionImpl()
6501 Info.FFDiag(CallLoc); in HandleDestructionImpl()
6543 Info.FFDiag(CallLoc, diag::note_constexpr_double_destroy); in HandleDestructionImpl()
6616 Info.FFDiag(E, diag::note_constexpr_destroy_complex_elem); in found()
6620 Info.FFDiag(E, diag::note_constexpr_destroy_complex_elem); in found()
6659 Info.FFDiag(E->getExprLoc(), Info.getLangOpts().CPlusPlus20 in HandleOperatorNewCall()
6667 Info.FFDiag(E->getExprLoc(), in HandleOperatorNewCall()
6690 Info.FFDiag(E->getExprLoc(), diag::note_constexpr_operator_new_bad_size) in HandleOperatorNewCall()
6701 Info.FFDiag(E, diag::note_constexpr_new_too_large) << APSInt(Size, true); in HandleOperatorNewCall()
6741 Info.FFDiag(E, diag::note_constexpr_delete_not_heap_alloc) in CheckDeleteKind()
6750 Info.FFDiag(E, diag::note_constexpr_double_delete); in CheckDeleteKind()
6756 Info.FFDiag(E, diag::note_constexpr_new_delete_mismatch) in CheckDeleteKind()
6771 Info.FFDiag(E, diag::note_constexpr_delete_subobject) in CheckDeleteKind()
6787 Info.FFDiag(E->getExprLoc()); in HandleOperatorDeleteCall()
6916 Info.FFDiag(BCE->getBeginLoc(), in visit()
6948 Info.FFDiag(BCE->getBeginLoc(), in visitRecord()
7040 Info.FFDiag(BCE->getBeginLoc(), in unsupportedType()
7047 Info.FFDiag(BCE->getBeginLoc(), in unrepresentableValue()
7087 Info.FFDiag(BCE->getExprLoc(), in visit()
7156 Info.FFDiag(BCE->getBeginLoc(), in visit()
7249 Info->FFDiag(Loc, diag::note_constexpr_bit_cast_invalid_type) in checkBitCastConstexprEligibilityType()
7417 Info.FFDiag(E, D); in Error()
7962 Info.FFDiag((*BI)->getBeginLoc(), in VisitStmtExpr()
7977 Info.FFDiag((*BI)->getBeginLoc(), in VisitStmtExpr()
8313 Info.FFDiag(E, diag::note_constexpr_use_uninit_reference); in VisitVarDecl()
8735 Info.FFDiag(E, diag::note_constexpr_this) << E->isImplicit(); in VisitCXXThisExpr()
8737 Info.FFDiag(E); in VisitCXXThisExpr()
9057 Info.FFDiag(E, diag::note_constexpr_invalid_alignment) << Alignment; in getAlignmentArgument()
9063 Info.FFDiag(E, diag::note_constexpr_alignment_too_big) in getAlignmentArgument()
9202 Info.FFDiag(E->getArg(0), diag::note_constexpr_alignment_adjust) in VisitBuiltinCallExpr()
9255 Info.FFDiag(E, diag::note_constexpr_ltor_incomplete_type) << CharTy; in VisitBuiltinCallExpr()
9261 Info.FFDiag(E, diag::note_constexpr_memchr_unsupported) in VisitBuiltinCallExpr()
9367 Info.FFDiag(E, diag::note_constexpr_memcpy_null) in VisitBuiltinCallExpr()
9382 Info.FFDiag(E, diag::note_constexpr_memcpy_type_pun) << Move << SrcT << T; in VisitBuiltinCallExpr()
9386 Info.FFDiag(E, diag::note_constexpr_memcpy_incomplete_type) << Move << T; in VisitBuiltinCallExpr()
9390 Info.FFDiag(E, diag::note_constexpr_memcpy_nontrivial) << Move << T; in VisitBuiltinCallExpr()
9401 Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported) in VisitBuiltinCallExpr()
9414 Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported) in VisitBuiltinCallExpr()
9430 Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar; in VisitBuiltinCallExpr()
9441 Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar; in VisitBuiltinCallExpr()
9500 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXNewExpr()
9550 Info.FFDiag(*ArraySize, diag::note_constexpr_new_negative) in VisitCXXNewExpr()
9563 Info.FFDiag(*ArraySize, diag::note_constexpr_new_too_large) in VisitCXXNewExpr()
9590 Info.FFDiag(*ArraySize, diag::note_constexpr_new_too_small) in VisitCXXNewExpr()
9626 Info.FFDiag(E, diag::note_constexpr_placement_new_wrong_type) << in VisitCXXNewExpr()
9634 Info.FFDiag(E, diag::note_constexpr_construct_complex_elem); in VisitCXXNewExpr()
9638 Info.FFDiag(E, diag::note_constexpr_construct_complex_elem); in VisitCXXNewExpr()
9888 Info.FFDiag(E, diag::note_constexpr_virtual_base) << RD; in ZeroInitialization()
10028 Info.FFDiag(Init, diag::note_constexpr_unsupported_flexible_array); in VisitInitListExpr()
10137 Info.FFDiag(E, diag::note_constexpr_unsupported_layout) in VisitCXXStdInitializerListExpr()
11001 Info.FFDiag(E); in VisitArrayInitIndexExpr()
11102 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvaluateInteger()
11773 Info.FFDiag(E->getArg(0)); in getBuiltinAlignArguments()
11856 Info.FFDiag(E->getArg(0), diag::note_constexpr_alignment_compute) in VisitBuiltinCallExpr()
11946 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in VisitBuiltinCallExpr()
12186 Info.FFDiag(E, diag::note_constexpr_memcmp_unsupported) in VisitBuiltinCallExpr()
12757 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in EvaluateComparisonBinaryOperator()
12857 Info.FFDiag(E, diag::note_constexpr_float_arithmetic_strict); in EvaluateComparisonBinaryOperator()
12892 Info.FFDiag(E, diag::note_constexpr_pointer_comparison_unspecified); in EvaluateComparisonBinaryOperator()
13211 Info.FFDiag(E, diag::note_constexpr_pointer_subtraction_zero_size) in VisitBinaryOperator()
13756 Info.FFDiag(E, diag::note_expr_divide_by_zero); in VisitBinaryOperator()
14683 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXDeleteExpr()
14716 Info.FFDiag(E, diag::note_constexpr_delete_base_nonvirt_dtor) in VisitCXXDeleteExpr()
14727 Info.FFDiag(E, diag::note_constexpr_new_non_replaceable) in VisitCXXDeleteExpr()
14742 Info.FFDiag(E, diag::note_constexpr_double_delete); in VisitCXXDeleteExpr()
14831 Info.FFDiag(E, diag::note_constexpr_nonliteral) << E->getType(); in Evaluate()
14834 Info.FFDiag(E, diag::note_invalid_subexpr_in_const_expr); in Evaluate()