summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringExtras.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-01-11 20:33:12 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-01-11 20:33:12 +0000
commit93ad708a46c06c36ceb05e55926f6ea7ae9bb808 (patch)
tree51b635f2c61504c45eb4e9c1e04ef3be9dbc2b05 /llvm/lib/Support/StringExtras.cpp
parentc5f8184eec40f827cd9e4b41ba8532adeaefdd63 (diff)
downloadbcm5719-llvm-93ad708a46c06c36ceb05e55926f6ea7ae9bb808.tar.gz
bcm5719-llvm-93ad708a46c06c36ceb05e55926f6ea7ae9bb808.zip
Remove unused string functions.
llvm-svn: 93183
Diffstat (limited to 'llvm/lib/Support/StringExtras.cpp')
-rw-r--r--llvm/lib/Support/StringExtras.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Support/StringExtras.cpp b/llvm/lib/Support/StringExtras.cpp
index 7fd840b0aed..785e0ec4c63 100644
--- a/llvm/lib/Support/StringExtras.cpp
+++ b/llvm/lib/Support/StringExtras.cpp
@@ -61,18 +61,6 @@ void llvm::SplitString(StringRef Source,
}
}
-// FIXME: remove when llvm-gcc doesn't use this anymore
-void llvm::SplitString(StringRef Source,
- std::vector<std::string> &OutFragments,
- StringRef Delimiters) {
- StringRef S2, S;
- tie(S2, S) = getToken(Source, Delimiters);
- while (!S2.empty()) {
- OutFragments.push_back(S2);
- tie(S2, S) = getToken(S, Delimiters);
- }
-}
-
void llvm::StringRef::split(SmallVectorImpl<StringRef> &A,
StringRef Separators, int MaxSplit,
bool KeepEmpty) const {
OpenPOWER on IntegriCloud