#include "lldb/DataFormatters/TypeSummary.h"
#include "lldb/lldb-enumerations.h"
#include "lldb/lldb-public.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/DataFormatters/ValueObjectPrinter.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Symbol/CompilerType.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/StreamString.h"
usingnamespacelldb;
usingnamespacelldb_private;
TypeSummaryOptions::TypeSummaryOptions() = default;
lldb::LanguageType TypeSummaryOptions::GetLanguage() const { … }
lldb::TypeSummaryCapping TypeSummaryOptions::GetCapping() const { … }
TypeSummaryOptions &TypeSummaryOptions::SetLanguage(lldb::LanguageType lang) { … }
TypeSummaryOptions &
TypeSummaryOptions::SetCapping(lldb::TypeSummaryCapping cap) { … }
TypeSummaryImpl::TypeSummaryImpl(Kind kind, const TypeSummaryImpl::Flags &flags)
: … { … }
StringSummaryFormat::StringSummaryFormat(const TypeSummaryImpl::Flags &flags,
const char *format_cstr)
: … { … }
void StringSummaryFormat::SetSummaryString(const char *format_cstr) { … }
bool StringSummaryFormat::FormatObject(ValueObject *valobj, std::string &retval,
const TypeSummaryOptions &options) { … }
std::string StringSummaryFormat::GetDescription() { … }
CXXFunctionSummaryFormat::CXXFunctionSummaryFormat(
const TypeSummaryImpl::Flags &flags, Callback impl, const char *description)
: … { … }
bool CXXFunctionSummaryFormat::FormatObject(ValueObject *valobj,
std::string &dest,
const TypeSummaryOptions &options) { … }
std::string CXXFunctionSummaryFormat::GetDescription() { … }
ScriptSummaryFormat::ScriptSummaryFormat(const TypeSummaryImpl::Flags &flags,
const char *function_name,
const char *python_script)
: … { … }
bool ScriptSummaryFormat::FormatObject(ValueObject *valobj, std::string &retval,
const TypeSummaryOptions &options) { … }
std::string ScriptSummaryFormat::GetDescription() { … }