X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FADT%2FAPSInt.h;h=1c9931c30fe511263a8ecf96856794c56264c9da;hb=7c718222cdb624f4c420b3d7b6eeb12fffc05603;hp=6fef4c7a0d0cb1a10921dcc75e7d7f828d73f398;hpb=072e99ef9bd7e731c06716d8a21f630e429ddd82;p=oota-llvm.git diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h index 6fef4c7a0d0..1c9931c30fe 100644 --- a/include/llvm/ADT/APSInt.h +++ b/include/llvm/ADT/APSInt.h @@ -59,7 +59,7 @@ public: /// toString - Append this APSInt to the specified SmallString. void toString(SmallVectorImpl &Str, unsigned Radix = 10) const { - return APInt::toString(Str, Radix, isSigned()); + APInt::toString(Str, Radix, isSigned()); } /// toString - Converts an APInt to a std::string. This is an inefficient /// method, your should prefer passing in a SmallString instead. @@ -150,7 +150,7 @@ public: return *this; } APSInt& operator--() { - static_cast(*this)++; + static_cast(*this)--; return *this; } APSInt operator++(int) {