diff options
Diffstat (limited to 'lib/Support/StringExtras.cpp')
-rw-r--r-- | lib/Support/StringExtras.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Support/StringExtras.cpp b/lib/Support/StringExtras.cpp index 7fd840b0ae..785e0ec4c6 100644 --- a/lib/Support/StringExtras.cpp +++ b/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 { |