projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab3d2ac
)
Shrink character buffer size in raw_ostream::write_hex to 16 characters intead of...
author
Craig Topper
<craig.topper@gmail.com>
Sun, 31 Jan 2016 01:12:38 +0000
(
01:12
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 31 Jan 2016 01:12:38 +0000
(
01:12
+0000)
llvm-svn: 259313
llvm/lib/Support/raw_ostream.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/raw_ostream.cpp
b/llvm/lib/Support/raw_ostream.cpp
index
a278a3b
..
4bea934
100644
(file)
--- a/
llvm/lib/Support/raw_ostream.cpp
+++ b/
llvm/lib/Support/raw_ostream.cpp
@@
-166,7
+166,7
@@
raw_ostream &raw_ostream::write_hex(unsigned long long N) {
if (N == 0)
return *this << '0';
- char NumberBuffer[
20
];
+ char NumberBuffer[
16
];
char *EndPtr = std::end(NumberBuffer);
char *CurPtr = EndPtr;