forked from OSchip/llvm-project
Fix bug where APSInt::operator-- incremented instead of decremented.
llvm-svn: 64687
This commit is contained in:
parent
5978cdb5ef
commit
772e6f3c93
|
@ -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