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:
parent
b1a41cd036
commit
53921b8722
@ -150,7 +150,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
APSInt& operator--() {
|
||||
static_cast<APInt&>(*this)++;
|
||||
static_cast<APInt&>(*this)--;
|
||||
return *this;
|
||||
}
|
||||
APSInt operator++(int) {
|
||||
|
Loading…
Reference in New Issue
Block a user