This patch does a few things:
- adds a new flag to mark ValueObjects as "synthetic children generated" - vends new Create functions as part of the SyntheticChildrenFrontEnd that set the flag automatically - moves synthetic child providers over to using these new functions No visible feature change, but preparatory work for feature change llvm-svn: 223819
This commit is contained in:
@@ -1130,7 +1130,7 @@ lldb_private::formatters::VectorIteratorSyntheticFrontEnd::Update()
|
||||
return false;
|
||||
Error err;
|
||||
m_exe_ctx_ref = valobj_sp->GetExecutionContextRef();
|
||||
m_item_sp = ValueObject::CreateValueObjectFromAddress("item", item_ptr->GetValueAsUnsigned(0), m_exe_ctx_ref, item_ptr->GetClangType().GetPointeeType());
|
||||
m_item_sp = CreateValueObjectFromAddress("item", item_ptr->GetValueAsUnsigned(0), m_exe_ctx_ref, item_ptr->GetClangType().GetPointeeType());
|
||||
if (err.Fail())
|
||||
m_item_sp.reset();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user