projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5036951
)
Fix bug where APSInt::operator-- incremented instead of decremented.
author
Ted Kremenek
<kremenek@apple.com>
Mon, 16 Feb 2009 22:39:08 +0000
(22:39 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Mon, 16 Feb 2009 22:39:08 +0000
(22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64687
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/APSInt.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/APSInt.h
b/include/llvm/ADT/APSInt.h
index 7e7d1c398f2c2c18b081833f471234e7618fa5b9..1c9931c30fe511263a8ecf96856794c56264c9da 100644
(file)
--- 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) {