diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h index 7e7d1c398f2..1c9931c30fe 100644 --- a/include/llvm/ADT/APSInt.h +++ b/include/llvm/ADT/APSInt.h @@ -150,7 +150,7 @@ public: return *this; } APSInt& operator--() { - static_cast(*this)++; + static_cast(*this)--; return *this; } APSInt operator++(int) {