#include "LibStdcpp.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/DataFormatters/FormattersHelpers.h"
#include "lldb/DataFormatters/TypeSynthetic.h"
#include "lldb/Utility/ConstString.h"
#include <memory>
#include <vector>
usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacelldb_private::formatters;
namespace {
class LibStdcppTupleSyntheticFrontEnd : public SyntheticChildrenFrontEnd { … };
}
LibStdcppTupleSyntheticFrontEnd::LibStdcppTupleSyntheticFrontEnd(
lldb::ValueObjectSP valobj_sp)
: … { … }
lldb::ChildCacheState LibStdcppTupleSyntheticFrontEnd::Update() { … }
bool LibStdcppTupleSyntheticFrontEnd::MightHaveChildren() { … }
lldb::ValueObjectSP
LibStdcppTupleSyntheticFrontEnd::GetChildAtIndex(uint32_t idx) { … }
llvm::Expected<uint32_t>
LibStdcppTupleSyntheticFrontEnd::CalculateNumChildren() { … }
size_t LibStdcppTupleSyntheticFrontEnd::GetIndexOfChildWithName(
ConstString name) { … }
SyntheticChildrenFrontEnd *
lldb_private::formatters::LibStdcppTupleSyntheticFrontEndCreator(
CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { … }