diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-11-27 07:59:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-11-27 07:59:50 +0000 |
commit | 10a049e6cf50eb9a1dddae49dc21513cfeddcb47 (patch) | |
tree | ed35ef386f2ac189962ad57290dccacdb618a94c /include/llvm/Support/raw_ostream.h | |
parent | 590956f24f4026298b5727d5cac677301ec626db (diff) | |
download | external_llvm-10a049e6cf50eb9a1dddae49dc21513cfeddcb47.zip external_llvm-10a049e6cf50eb9a1dddae49dc21513cfeddcb47.tar.gz external_llvm-10a049e6cf50eb9a1dddae49dc21513cfeddcb47.tar.bz2 |
raw_ostream::write_escaped: Add a UseHexEscapes argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/raw_ostream.h')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index d55feb7..ae21d2a 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -196,7 +196,7 @@ public: /// write_escaped - Output \arg Str, turning '\\', '\t', '\n', '"', and /// anything that doesn't satisfy std::isprint into an escape sequence. - raw_ostream &write_escaped(StringRef Str); + raw_ostream &write_escaped(StringRef Str, bool UseHexEscapes = false); raw_ostream &write(unsigned char C); raw_ostream &write(const char *Ptr, size_t Size); |