diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-30 18:30:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-30 18:30:19 +0000 |
commit | 0fffbafa9609e0e289ff3120ab9e23d244c1dbc0 (patch) | |
tree | 57dec8b780b8567f2a9e8acf8d23a5107f6b53a9 /lib/Support/Twine.cpp | |
parent | 7212f809662ea3d54974e5ab64f612fb138e3ec9 (diff) |
Twine: Use raw_ostream::write_hex, remove unused itohexstr method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Twine.cpp')
-rw-r--r-- | lib/Support/Twine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Support/Twine.cpp b/lib/Support/Twine.cpp index 2b0cf062ec..83a3a6180f 100644 --- a/lib/Support/Twine.cpp +++ b/lib/Support/Twine.cpp @@ -60,8 +60,7 @@ void Twine::printOneChild(raw_ostream &OS, const void *Ptr, OS << *static_cast<const int64_t*>(Ptr); break; case Twine::UHexKind: - // FIXME: Add raw_ostream functionality for this. - OS << ::utohexstr(*static_cast<const uint64_t*>(Ptr)); + OS.write_hex(*static_cast<const uint64_t*>(Ptr)); break; } } |