Extend StringRef's edit-distance algorithm to permit an upper bound on the allowed...
[oota-llvm.git] / include / llvm / ADT / APSInt.h
index 7e7d1c398f2c2c18b081833f471234e7618fa5b9..1c9931c30fe511263a8ecf96856794c56264c9da 100644 (file)
@@ -150,7 +150,7 @@ public:
     return *this;
   }
   APSInt& operator--() {
-    static_cast<APInt&>(*this)++;
+    static_cast<APInt&>(*this)--;
     return *this;
   }
   APSInt operator++(int) {