From 49a6746942e164ddd1ef8d69f0d167e508c5b770 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 21 Nov 2014 22:23:08 +0000 Subject: Per off-list feedback, this API returns the *first* value with a given name, not the *only* one. Rename it to reflect that llvm-svn: 222582 --- lldb/scripts/Python/interface/SBValueList.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBValueList.i b/lldb/scripts/Python/interface/SBValueList.i index 12aed864830..0ba9b7962b7 100644 --- a/lldb/scripts/Python/interface/SBValueList.i +++ b/lldb/scripts/Python/interface/SBValueList.i @@ -98,7 +98,7 @@ public: FindValueObjectByUID (lldb::user_id_t uid); lldb::SBValue - GetValueByName (const char* name) const; + GetFirstValueByName (const char* name) const; %pythoncode %{ def __len__(self): -- cgit v1.2.3