summaryrefslogtreecommitdiff
path: root/include/llvm/Support/raw_ostream.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-11-27 07:59:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-11-27 07:59:50 +0000
commit10a049e6cf50eb9a1dddae49dc21513cfeddcb47 (patch)
treeed35ef386f2ac189962ad57290dccacdb618a94c /include/llvm/Support/raw_ostream.h
parent590956f24f4026298b5727d5cac677301ec626db (diff)
downloadllvm-10a049e6cf50eb9a1dddae49dc21513cfeddcb47.tar.gz
llvm-10a049e6cf50eb9a1dddae49dc21513cfeddcb47.tar.bz2
llvm-10a049e6cf50eb9a1dddae49dc21513cfeddcb47.tar.xz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index d55feb7b0f..ae21d2a040 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);