Renaming SBValueList::get() to

opaque_ptr since it returns a void* instead of an usable object.

llvm-svn: 174673
This commit is contained in:
Enrico Granata 2013-02-07 22:57:46 +00:00
parent e499613d60
commit 08ec0b6117
3 changed files with 6 additions and 4 deletions

View File

@ -54,8 +54,10 @@ public:
protected:
// only useful for visualizing the pointer or comparing two SBValueLists
// to see if they are backed by the same underlying Impl.
void *
get ();
opaque_ptr ();
private:
friend class SBFrame;

View File

@ -1159,7 +1159,7 @@ SBFrame::GetVariables (bool arguments,
if (log)
{
log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList(%p)", frame, value_list.get());
log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList(%p)", frame, value_list.opaque_ptr());
}
return value_list;
@ -1209,7 +1209,7 @@ SBFrame::GetRegisters ()
}
if (log)
log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList(%p)", frame, value_list.get());
log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList(%p)", frame, value_list.opaque_ptr());
return value_list;
}

View File

@ -263,7 +263,7 @@ SBValueList::FindValueObjectByUID (lldb::user_id_t uid)
}
void *
SBValueList::get ()
SBValueList::opaque_ptr ()
{
return m_opaque_ap.get();
}