reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/ExprConstant.cpp
 2489     Info.FFDiag(E);
 2492     return CheckedIntArithmetic(Info, E, LHS, RHS, LHS.getBitWidth() * 2,
 2495     return CheckedIntArithmetic(Info, E, LHS, RHS, LHS.getBitWidth() + 1,
 2498     return CheckedIntArithmetic(Info, E, LHS, RHS, LHS.getBitWidth() + 1,
 2506       Info.FFDiag(E, diag::note_expr_divide_by_zero);
 2514       return HandleOverflow(Info, E, -LHS.extend(LHS.getBitWidth() + 1),
 2515                             E->getType());
 2526       Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS;
 2535       Info.CCEDiag(E, diag::note_constexpr_large_shift)
 2536         << RHS << E->getType() << LHS.getBitWidth();
 2543         Info.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS;
 2545         Info.CCEDiag(E, diag::note_constexpr_lshift_discards);
 2559       Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS;
 2568       Info.CCEDiag(E, diag::note_constexpr_large_shift)
 2569         << RHS << E->getType() << LHS.getBitWidth();