llvm/lldb/source/DataFormatters/ValueObjectPrinter.cpp

//===-- ValueObjectPrinter.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/DataFormatters/ValueObjectPrinter.h"

#include "lldb/Core/ValueObject.h"
#include "lldb/DataFormatters/DataVisualization.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Target/Language.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/Stream.h"
#include "llvm/Support/MathExtras.h"
#include <cstdint>

usingnamespacelldb;
usingnamespacelldb_private;

ValueObjectPrinter::ValueObjectPrinter(ValueObject &valobj, Stream *s)
    :{}

ValueObjectPrinter::ValueObjectPrinter(ValueObject &valobj, Stream *s,
                                       const DumpValueObjectOptions &options)
    :{}

ValueObjectPrinter::ValueObjectPrinter(
    ValueObject &valobj, Stream *s, const DumpValueObjectOptions &options,
    const DumpValueObjectOptions::PointerDepth &ptr_depth, uint32_t curr_depth,
    InstancePointersSetSP printed_instance_pointers)
    :{}

void ValueObjectPrinter::Init(
    ValueObject &valobj, Stream *s, const DumpValueObjectOptions &options,
    const DumpValueObjectOptions::PointerDepth &ptr_depth, uint32_t curr_depth,
    InstancePointersSetSP printed_instance_pointers) {}

llvm::Error ValueObjectPrinter::PrintValueObject() {}

ValueObject &ValueObjectPrinter::GetMostSpecializedValue() {}

void ValueObjectPrinter::SetupMostSpecializedValue() {}

llvm::Expected<std::string> ValueObjectPrinter::GetDescriptionForDisplay() {}

const char *ValueObjectPrinter::GetRootNameForDisplay() {}

bool ValueObjectPrinter::ShouldPrintValueObject() {}

bool ValueObjectPrinter::IsNil() {}

bool ValueObjectPrinter::IsUninitialized() {}

bool ValueObjectPrinter::IsPtr() {}

bool ValueObjectPrinter::IsRef() {}

bool ValueObjectPrinter::IsAggregate() {}

bool ValueObjectPrinter::IsInstancePointer() {}

bool ValueObjectPrinter::PrintLocationIfNeeded() {}

void ValueObjectPrinter::PrintDecl() {}

bool ValueObjectPrinter::CheckScopeIfNeeded() {}

TypeSummaryImpl *ValueObjectPrinter::GetSummaryFormatter(bool null_if_omitted) {}

static bool IsPointerValue(const CompilerType &type) {}

void ValueObjectPrinter::GetValueSummaryError(std::string &value,
                                              std::string &summary,
                                              std::string &error) {}

bool ValueObjectPrinter::PrintValueAndSummaryIfNeeded(bool &value_printed,
                                                      bool &summary_printed) {}

llvm::Error
ValueObjectPrinter::PrintObjectDescriptionIfNeeded(bool value_printed,
                                                   bool summary_printed) {}

bool DumpValueObjectOptions::PointerDepth::CanAllowExpansion() const {}

bool ValueObjectPrinter::ShouldPrintChildren(
    DumpValueObjectOptions::PointerDepth &curr_ptr_depth) {}

bool ValueObjectPrinter::ShouldExpandEmptyAggregates() {}

ValueObject &ValueObjectPrinter::GetValueObjectForChildrenGeneration() {}

void ValueObjectPrinter::PrintChildrenPreamble(bool value_printed,
                                               bool summary_printed) {}

void ValueObjectPrinter::PrintChild(
    ValueObjectSP child_sp,
    const DumpValueObjectOptions::PointerDepth &curr_ptr_depth) {}

llvm::Expected<uint32_t>
ValueObjectPrinter::GetMaxNumChildrenToPrint(bool &print_dotdotdot) {}

void ValueObjectPrinter::PrintChildrenPostamble(bool print_dotdotdot) {}

bool ValueObjectPrinter::ShouldPrintEmptyBrackets(bool value_printed,
                                                  bool summary_printed) {}

static constexpr size_t PhysicalIndexForLogicalIndex(size_t base, size_t stride,
                                                     size_t logical) {}

ValueObjectSP ValueObjectPrinter::GenerateChild(ValueObject &synth_valobj,
                                                size_t idx) {}

void ValueObjectPrinter::PrintChildren(
    bool value_printed, bool summary_printed,
    const DumpValueObjectOptions::PointerDepth &curr_ptr_depth) {}

bool ValueObjectPrinter::PrintChildrenOneLiner(bool hide_names) {}

llvm::Error ValueObjectPrinter::PrintChildrenIfNeeded(bool value_printed,
                                                      bool summary_printed) {}

bool ValueObjectPrinter::HasReachedMaximumDepth() {}

bool ValueObjectPrinter::ShouldShowName() const {}