From 5e95aa85bb660d45e9905ef1d7180b2678280660 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 3 Jul 2015 16:57:06 +0000 Subject: Import LLDB as of upstream SVN 241361 (git 612c075f) --- source/Core/StringList.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/Core/StringList.cpp') diff --git a/source/Core/StringList.cpp b/source/Core/StringList.cpp index d2fa8cfb4a88..4e07ba4a4579 100644 --- a/source/Core/StringList.cpp +++ b/source/Core/StringList.cpp @@ -68,6 +68,12 @@ StringList::AppendString (const char *str, size_t str_len) m_strings.push_back (std::string (str, str_len)); } +void +StringList::AppendString(llvm::StringRef str) +{ + m_strings.push_back(str.str()); +} + void StringList::AppendList (const char **strv, int strc) { -- cgit v1.3