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

References

tools/clang/lib/AST/Interp/Integral.h
   61   using T = typename Repr<Bits, Signed>::Type;
  107     return APSInt(APInt(Bits, static_cast<uint64_t>(V), Signed), !Signed);
  107     return APSInt(APInt(Bits, static_cast<uint64_t>(V), Signed), !Signed);
  110     if (Signed)
  111       return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
  113       return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
  127   bool isMinusOne() const { return Signed && V == T(-1); }
  129   constexpr static bool isSigned() { return Signed; }
  146     return Integral((V & BitMask) | (Signed && (V & SignBit) ? ExtMask : 0));