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),
 2518     if (Info.getLangOpts().OpenCL)
 2526       Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS;
 2535       Info.CCEDiag(E, diag::note_constexpr_large_shift)
 2537     } else if (LHS.isSigned() && !Info.getLangOpts().CPlusPlus2a) {
 2543         Info.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS;
 2545         Info.CCEDiag(E, diag::note_constexpr_lshift_discards);
 2551     if (Info.getLangOpts().OpenCL)
 2559       Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS;
 2568       Info.CCEDiag(E, diag::note_constexpr_large_shift)