diff options
author | Ed Maste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
commit | 5e95aa85bb660d45e9905ef1d7180b2678280660 (patch) | |
tree | 3c2e41c3be19b7fc7666ed45a5f91ec3b6e35f2a /source/Core/StringList.cpp | |
parent | 12bd4897ff0678fa663e09d78ebc22dd255ceb86 (diff) |
Diffstat (limited to 'source/Core/StringList.cpp')
-rw-r--r-- | source/Core/StringList.cpp | 6 |
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) |