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
This commit is contained in:
Daniel Dunbar
2009-07-30 18:30:19 +00:00
parent 7212f80966
commit 0fffbafa96
3 changed files with 2 additions and 11 deletions

View File

@@ -303,13 +303,6 @@ namespace llvm {
return Twine(&Val, UHexKind, 0, EmptyKind);
}
// Construct a twine to print \arg Val as an unsigned hexadecimal
// integer. This routine is provided as a convenience to sign extend values
// before printing.
static Twine itohexstr(const int64_t &Val) {
return Twine(&Val, UHexKind, 0, EmptyKind);
}
/// @}
/// @name String Operations
/// @{