From 0fffbafa9609e0e289ff3120ab9e23d244c1dbc0 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 30 Jul 2009 18:30:19 +0000 Subject: 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 --- include/llvm/ADT/Twine.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') 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 /// @{ -- cgit v1.1