1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix bug where APSInt::operator-- incremented instead of decremented.

llvm-svn: 64687
This commit is contained in:
Ted Kremenek 2009-02-16 22:39:08 +00:00
parent b1a41cd036
commit 53921b8722

View File

@ -150,7 +150,7 @@ public:
return *this;
}
APSInt& operator--() {
static_cast<APInt&>(*this)++;
static_cast<APInt&>(*this)--;
return *this;
}
APSInt operator++(int) {