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 | bd8556e0fb84f3b5e00c45006e3e001a5da488c5 (patch) | |
| tree | 7bd2462082fe4b6e9ea59f71bd99db5e560a581f /llvm/lib/Support | |
| parent | da6efdcd225a71e68cb9a236bcdb1e16675474e7 (diff) | |
| download | bcm5719-llvm-bd8556e0fb84f3b5e00c45006e3e001a5da488c5.tar.gz bcm5719-llvm-bd8556e0fb84f3b5e00c45006e3e001a5da488c5.zip  | |
Twine: Use raw_ostream::write_hex, remove unused itohexstr method.
llvm-svn: 77617
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/Twine.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/Twine.cpp b/llvm/lib/Support/Twine.cpp index 2b0cf062ec8..83a3a6180f3 100644 --- a/llvm/lib/Support/Twine.cpp +++ b/llvm/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;    }  }  | 

