#include "lldb/Core/ValueObjectSyntheticFilter.h"
#include "lldb/Core/Value.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/DataFormatters/TypeSynthetic.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Status.h"
#include "llvm/ADT/STLExtras.h"
#include <optional>
namespace lldb_private {
class Declaration;
}
usingnamespacelldb_private;
class DummySyntheticFrontEnd : public SyntheticChildrenFrontEnd { … };
ValueObjectSynthetic::ValueObjectSynthetic(ValueObject &parent,
lldb::SyntheticChildrenSP filter)
: … { … }
ValueObjectSynthetic::~ValueObjectSynthetic() = default;
CompilerType ValueObjectSynthetic::GetCompilerTypeImpl() { … }
ConstString ValueObjectSynthetic::GetTypeName() { … }
ConstString ValueObjectSynthetic::GetQualifiedTypeName() { … }
ConstString ValueObjectSynthetic::GetDisplayTypeName() { … }
llvm::Expected<uint32_t>
ValueObjectSynthetic::CalculateNumChildren(uint32_t max) { … }
lldb::ValueObjectSP
ValueObjectSynthetic::GetDynamicValue(lldb::DynamicValueType valueType) { … }
bool ValueObjectSynthetic::MightHaveChildren() { … }
std::optional<uint64_t> ValueObjectSynthetic::GetByteSize() { … }
lldb::ValueType ValueObjectSynthetic::GetValueType() const { … }
void ValueObjectSynthetic::CreateSynthFilter() { … }
bool ValueObjectSynthetic::UpdateValue() { … }
lldb::ValueObjectSP ValueObjectSynthetic::GetChildAtIndex(uint32_t idx,
bool can_create) { … }
lldb::ValueObjectSP
ValueObjectSynthetic::GetChildMemberWithName(llvm::StringRef name,
bool can_create) { … }
size_t ValueObjectSynthetic::GetIndexOfChildWithName(llvm::StringRef name_ref) { … }
bool ValueObjectSynthetic::IsInScope() { … }
lldb::ValueObjectSP ValueObjectSynthetic::GetNonSyntheticValue() { … }
void ValueObjectSynthetic::CopyValueData(ValueObject *source) { … }
bool ValueObjectSynthetic::CanProvideValue() { … }
bool ValueObjectSynthetic::SetValueFromCString(const char *value_str,
Status &error) { … }
void ValueObjectSynthetic::SetFormat(lldb::Format format) { … }
void ValueObjectSynthetic::SetPreferredDisplayLanguage(
lldb::LanguageType lang) { … }
lldb::LanguageType ValueObjectSynthetic::GetPreferredDisplayLanguage() { … }
bool ValueObjectSynthetic::IsSyntheticChildrenGenerated() { … }
void ValueObjectSynthetic::SetSyntheticChildrenGenerated(bool b) { … }
bool ValueObjectSynthetic::GetDeclaration(Declaration &decl) { … }
uint64_t ValueObjectSynthetic::GetLanguageFlags() { … }
void ValueObjectSynthetic::SetLanguageFlags(uint64_t flags) { … }