aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/ADT/StringExtras.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-17 20:43:42 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-17 20:43:42 +0000
commit9bd34602fbe945cc2ed81f8f8ac7de59f4679038 (patch)
tree4459a4f7d4bebe64ac417fcc98f53f5d78606e26 /include/llvm/ADT/StringExtras.h
parentca107c5c1871e38f475224db03da5b90f9fccef2 (diff)
Move UnescapeString to a static function for its sole client; its inefficient and broken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84358 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringExtras.h')
-rw-r--r--include/llvm/ADT/StringExtras.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h
index 76779fc306..899823d5c6 100644
--- a/include/llvm/ADT/StringExtras.h
+++ b/include/llvm/ADT/StringExtras.h
@@ -217,11 +217,6 @@ void SplitString(const std::string &Source,
std::vector<std::string> &OutFragments,
const char *Delimiters = " \t\n\v\f\r");
-/// UnescapeString - Modify the argument string, turning two character sequences
-/// like '\\' 'n' into '\n'. This handles: \e \a \b \f \n \r \t \v \' \\ and
-/// \num (where num is a 1-3 byte octal value).
-void UnescapeString(std::string &Str);
-
/// HashString - Hash funtion for strings.
///
/// This is the Bernstein hash function.