Lines Matching refs:CCEDiag
676 OptionalDiagnostic CCEDiag(SourceLocation Loc, diag::kind DiagId in CCEDiag() function
687 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind DiagId in CCEDiag() function
690 return CCEDiag(E->getExprLoc(), DiagId, ExtraNotes); in CCEDiag()
942 Info.CCEDiag(E, diag::note_constexpr_past_end_subobject) in checkSubobject()
953 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
957 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1117 Info.CCEDiag(E, diag::note_constexpr_null_subobject) in checkNullPointer()
1462 Info.CCEDiag(Loc); in CheckLValueConstantExpression()
1652 Info.CCEDiag(E, diag::note_constexpr_overflow) in HandleOverflow()
1844 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS; in handleIntIntBinOp()
1853 Info.CCEDiag(E, diag::note_constexpr_large_shift) in handleIntIntBinOp()
1859 Info.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS; in handleIntIntBinOp()
1861 Info.CCEDiag(E, diag::note_constexpr_lshift_discards); in handleIntIntBinOp()
1875 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS; in handleIntIntBinOp()
1884 Info.CCEDiag(E, diag::note_constexpr_large_shift) in handleIntIntBinOp()
1922 Info.CCEDiag(E, diag::note_constexpr_float_arithmetic) << LHS.isNaN(); in handleFloatFloatBinOp()
2182 Info.CCEDiag(E, diag::note_constexpr_var_init_non_constant, in evaluateVarDeclInit()
2785 Info.CCEDiag(E, diag::note_constexpr_ltor_non_constexpr, 1) << VD; in findCompleteObject()
2788 Info.CCEDiag(E); in findCompleteObject()
3363 Info.CCEDiag(E, diag::note_constexpr_invalid_downcast) in HandleBaseToDerivedCast()
3378 Info.CCEDiag(E, diag::note_constexpr_invalid_downcast) in HandleBaseToDerivedCast()
3844 Info.CCEDiag(Loc, diag::note_constexpr_invalid_function, 1) in CheckTrivialDefaultConstructor()
3848 Info.CCEDiag(Loc, diag::note_invalid_subexpr_in_const_expr); in CheckTrivialDefaultConstructor()
4208 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind D) { in CCEDiag() function in __anonf3f43a050b11::ExprEvaluatorBase
4209 return Info.CCEDiag(E, D); in CCEDiag()
4262 CCEDiag(E, diag::note_constexpr_invalid_cast) << 0; in VisitCXXReinterpretCastExpr()
4266 CCEDiag(E, diag::note_constexpr_invalid_cast) << 1; in VisitCXXDynamicCastExpr()
4758 this->CCEDiag(E, diag::note_constexpr_invalid_cast) << 2; in VisitCastExpr()
5131 CCEDiag(E, diag::note_constexpr_invalid_cast) in VisitCastExpr()
5134 CCEDiag(E, diag::note_constexpr_invalid_cast) << 2; in VisitCastExpr()
5163 CCEDiag(E, diag::note_constexpr_invalid_cast) << 2; in VisitCastExpr()
5285 CCEDiag(E->getArg(0), in VisitCallExpr()
5300 CCEDiag(E->getArg(0), in VisitCallExpr()
5304 CCEDiag(E->getArg(0), in VisitCallExpr()
7011 Info.CCEDiag(E, diag::note_constexpr_invalid_function) in VisitCallExpr()
7014 Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr); in VisitCallExpr()
7240 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind D) { in CCEDiag() function in __anonf3f43a051811::DataRecursiveIntBinOpEvaluator
7241 return Info.CCEDiag(E, D); in CCEDiag()
7673 CCEDiag(E, diag::note_constexpr_pointer_subtraction_not_same_array); in VisitBinaryOperator()
7723 CCEDiag(E, diag::note_constexpr_void_comparison); in VisitBinaryOperator()
7750 CCEDiag(E, diag::note_constexpr_pointer_comparison_base_classes); in VisitBinaryOperator()
7752 CCEDiag(E, diag::note_constexpr_pointer_comparison_base_field) in VisitBinaryOperator()
7756 CCEDiag(E, diag::note_constexpr_pointer_comparison_base_field) in VisitBinaryOperator()
7761 CCEDiag(E, diag::note_constexpr_pointer_comparison_differing_access) in VisitBinaryOperator()
7827 CCEDiag(E, diag::note_constexpr_compare_virtual_mem_ptr) << MD; in VisitBinaryOperator()
7830 CCEDiag(E, diag::note_constexpr_compare_virtual_mem_ptr) << MD; in VisitBinaryOperator()
8113 CCEDiag(E, diag::note_constexpr_invalid_cast) << 2; in VisitCastExpr()
9051 Info.CCEDiag(E, diag::note_constexpr_nonliteral) in Evaluate()