aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/APSInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ADT/APSInt.h')
-rw-r--r--include/llvm/ADT/APSInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h
index 7e7d1c3..1c9931c 100644
--- a/include/llvm/ADT/APSInt.h
+++ b/include/llvm/ADT/APSInt.h
@@ -150,7 +150,7 @@ public:
return *this;
}
APSInt& operator--() {
- static_cast<APInt&>(*this)++;
+ static_cast<APInt&>(*this)--;
return *this;
}
APSInt operator++(int) {