aboutsummaryrefslogtreecommitdiff
path: root/source/Core/StringList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/StringList.cpp')
-rw-r--r--source/Core/StringList.cpp6
1 files changed, 6 insertions, 0 deletions
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
@@ -69,6 +69,12 @@ StringList::AppendString (const char *str, size_t str_len)
}
void
+StringList::AppendString(llvm::StringRef str)
+{
+ m_strings.push_back(str.str());
+}
+
+void
StringList::AppendList (const char **strv, int strc)
{
for (int i = 0; i < strc; ++i)