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

References

tools/clang/lib/AST/Interp/Interp.h
  875   if (V.isSigned() && !S.getLangOpts().CPlusPlus2a) {
  880     if (V.isNegative()) {
  882       S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt();
  883     } else if (V.countLeadingZeros() < RHS) {
  888   if (V.bitWidth() == 1) {
  889     S.Stk.push<T>(V);
  890   } else if (RHS >= V.bitWidth()) {
  891     S.Stk.push<T>(T::from(0, V.bitWidth()));
  893     S.Stk.push<T>(T::from(V.toUnsigned() << RHS, V.bitWidth()));
  893     S.Stk.push<T>(T::from(V.toUnsigned() << RHS, V.bitWidth()));