#include "LibCxx.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Core/ValueObjectConstResult.h"
#include "lldb/DataFormatters/FormattersHelpers.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Stream.h"
#include "lldb/lldb-enumerations.h"
usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacelldb_private::formatters;
namespace {
class ListEntry { … };
class ListIterator { … };
class AbstractListFrontEnd : public SyntheticChildrenFrontEnd { … };
class ForwardListFrontEnd : public AbstractListFrontEnd { … };
class ListFrontEnd : public AbstractListFrontEnd { … };
}
lldb::ChildCacheState AbstractListFrontEnd::Update() { … }
bool AbstractListFrontEnd::HasLoop(size_t count) { … }
ValueObjectSP AbstractListFrontEnd::GetItem(size_t idx) { … }
ForwardListFrontEnd::ForwardListFrontEnd(ValueObject &valobj)
: … { … }
llvm::Expected<uint32_t> ForwardListFrontEnd::CalculateNumChildren() { … }
ValueObjectSP ForwardListFrontEnd::GetChildAtIndex(uint32_t idx) { … }
lldb::ChildCacheState ForwardListFrontEnd::Update() { … }
ListFrontEnd::ListFrontEnd(lldb::ValueObjectSP valobj_sp)
: … { … }
llvm::Expected<uint32_t> ListFrontEnd::CalculateNumChildren() { … }
lldb::ValueObjectSP ListFrontEnd::GetChildAtIndex(uint32_t idx) { … }
lldb::ChildCacheState ListFrontEnd::Update() { … }
SyntheticChildrenFrontEnd *formatters::LibcxxStdListSyntheticFrontEndCreator(
CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { … }
SyntheticChildrenFrontEnd *
formatters::LibcxxStdForwardListSyntheticFrontEndCreator(
CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { … }