diff options
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/include/lldb/API/SBValueList.h | 2 | ||||
-rw-r--r-- | lldb/scripts/Python/interface/SBValueList.i | 2 | ||||
-rw-r--r-- | lldb/source/API/SBValueList.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lldb/include/lldb/API/SBValueList.h b/lldb/include/lldb/API/SBValueList.h index 154311d4b98..812fdac91c1 100644 --- a/lldb/include/lldb/API/SBValueList.h +++ b/lldb/include/lldb/API/SBValueList.h @@ -45,7 +45,7 @@ public: GetValueAtIndex (uint32_t idx) const; lldb::SBValue - GetValueByName (const char* name) const; + GetFirstValueByName (const char* name) const; lldb::SBValue FindValueObjectByUID (lldb::user_id_t uid); 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): diff --git a/lldb/source/API/SBValueList.cpp b/lldb/source/API/SBValueList.cpp index e96f482d4c9..71fabe0dfc0 100644 --- a/lldb/source/API/SBValueList.cpp +++ b/lldb/source/API/SBValueList.cpp @@ -80,7 +80,7 @@ public: } lldb::SBValue - GetValueByName (const char* name) const + GetFirstValueByName (const char* name) const { if (name) { @@ -277,11 +277,11 @@ SBValueList::FindValueObjectByUID (lldb::user_id_t uid) } SBValue -SBValueList::GetValueByName (const char* name) const +SBValueList::GetFirstValueByName (const char* name) const { SBValue sb_value; if (m_opaque_ap.get()) - sb_value = m_opaque_ap->GetValueByName(name); + sb_value = m_opaque_ap->GetFirstValueByName(name); return sb_value; } |