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 | 54cca340830105975b713fb1b2e9917db1330745 (patch) | |
tree | 57dec8b780b8567f2a9e8acf8d23a5107f6b53a9 /include/llvm/ADT | |
parent | ad3a9d3fbf56ab4e9c6fb1074b9fc10d5f78b5a7 (diff) | |
download | external_llvm-54cca340830105975b713fb1b2e9917db1330745.zip external_llvm-54cca340830105975b713fb1b2e9917db1330745.tar.gz external_llvm-54cca340830105975b713fb1b2e9917db1330745.tar.bz2 |
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 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/Twine.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/ADT/Twine.h b/include/llvm/ADT/Twine.h index 6c4905e..cb5bb4d 100644 --- a/include/llvm/ADT/Twine.h +++ b/include/llvm/ADT/Twine.h @@ -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 /// @{ |