summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/StringExtras.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-17 20:43:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-17 20:43:29 +0000
commitca107c5c1871e38f475224db03da5b90f9fccef2 (patch)
treef70525269b68818089214ac1a525593718ddf956 /include/llvm/ADT/StringExtras.h
parent3446cf142eb3113679cbc11c3f63b133423d4c8b (diff)
downloadllvm-ca107c5c1871e38f475224db03da5b90f9fccef2.tar.gz
llvm-ca107c5c1871e38f475224db03da5b90f9fccef2.tar.bz2
llvm-ca107c5c1871e38f475224db03da5b90f9fccef2.tar.xz
Remove llvm::EscapeString, raw_ostream::write_escaped is much faster.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringExtras.h')
-rw-r--r--include/llvm/ADT/StringExtras.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h
index 515cda4b29..76779fc306 100644
--- a/include/llvm/ADT/StringExtras.h
+++ b/include/llvm/ADT/StringExtras.h
@@ -222,10 +222,6 @@ void SplitString(const std::string &Source,
/// \num (where num is a 1-3 byte octal value).
void UnescapeString(std::string &Str);
-/// EscapeString - Modify the argument string, turning '\\' and anything that
-/// doesn't satisfy std::isprint into an escape sequence.
-void EscapeString(std::string &Str);
-
/// HashString - Hash funtion for strings.
///
/// This is the Bernstein hash function.