From f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 23 Jul 2016 20:50:09 +0000 Subject: Vendor import of lldb release_39 branch r276489: https://llvm.org/svn/llvm-project/lldb/branches/release_39@276489 --- source/API/SBStringList.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/API/SBStringList.cpp') diff --git a/source/API/SBStringList.cpp b/source/API/SBStringList.cpp index 129d2f4c11f0..f469bc4336fc 100644 --- a/source/API/SBStringList.cpp +++ b/source/API/SBStringList.cpp @@ -126,6 +126,16 @@ SBStringList::GetStringAtIndex (size_t idx) return NULL; } +const char * +SBStringList::GetStringAtIndex (size_t idx) const +{ + if (IsValid()) + { + return m_opaque_ap->GetStringAtIndex (idx); + } + return NULL; +} + void SBStringList::Clear () { -- cgit v1.3