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