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:
f975e01
)
Fix a fixme, patch by Ryan Flynn!
author
Chris Lattner
<sabre@nondot.org>
Wed, 15 Jul 2009 00:36:04 +0000
(
00:36
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 15 Jul 2009 00:36:04 +0000
(
00:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75716
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallString.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallString.h
b/include/llvm/ADT/SmallString.h
index 687fa2d26e246f42680b365956c5687b1e00ac43..bbc3c0526ad4e7d76815def0f70c09e218533eb8 100644
(file)
--- a/
include/llvm/ADT/SmallString.h
+++ b/
include/llvm/ADT/SmallString.h
@@
-93,12
+93,11
@@
public:
}
SmallString &append_sint(int64_t N) {
- // TODO, wrong for minint64.
if (N < 0) {
this->push_back('-');
N = -N;
}
- return append_uint(N);
+ return append_uint(
(uint64_t)
N);
}
};