diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-30 18:21:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-30 18:21:23 +0000 |
commit | 48018e08f0d47331e72e5dcfcde2173217091b0e (patch) | |
tree | 5ef81d0a746dd0452b848da3759588f7227aa170 /include | |
parent | bd17a295c1fe7ac5669af033086209254a0887a3 (diff) | |
download | external_llvm-48018e08f0d47331e72e5dcfcde2173217091b0e.zip external_llvm-48018e08f0d47331e72e5dcfcde2173217091b0e.tar.gz external_llvm-48018e08f0d47331e72e5dcfcde2173217091b0e.tar.bz2 |
Add raw_ostream::write_hex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index c8744d2..09ee030 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -198,6 +198,9 @@ public: return *this; } + /// write_hex - Output \arg N in hexadecimal, without any prefix or padding. + raw_ostream &write_hex(unsigned long long N); + raw_ostream &write(unsigned char C); raw_ostream &write(const char *Ptr, size_t Size); |