#include "lldb/DataFormatters/FormatCache.h"
usingnamespacelldb;
usingnamespacelldb_private;
FormatCache::Entry::Entry()
: … { … }
bool FormatCache::Entry::IsFormatCached() { … }
bool FormatCache::Entry::IsSummaryCached() { … }
bool FormatCache::Entry::IsSyntheticCached() { … }
void FormatCache::Entry::Get(lldb::TypeFormatImplSP &retval) { … }
void FormatCache::Entry::Get(lldb::TypeSummaryImplSP &retval) { … }
void FormatCache::Entry::Get(lldb::SyntheticChildrenSP &retval) { … }
void FormatCache::Entry::Set(lldb::TypeFormatImplSP format_sp) { … }
void FormatCache::Entry::Set(lldb::TypeSummaryImplSP summary_sp) { … }
void FormatCache::Entry::Set(lldb::SyntheticChildrenSP synthetic_sp) { … }
namespace lldb_private {
template<> bool FormatCache::Entry::IsCached<lldb::TypeFormatImplSP>() { … }
template<> bool FormatCache::Entry::IsCached<lldb::TypeSummaryImplSP> () { … }
template<> bool FormatCache::Entry::IsCached<lldb::SyntheticChildrenSP>() { … }
}
template <typename ImplSP>
bool FormatCache::Get(ConstString type, ImplSP &format_impl_sp) { … }
template bool
FormatCache::Get<lldb::TypeFormatImplSP>(ConstString, lldb::TypeFormatImplSP &);
template bool
FormatCache::Get<lldb::TypeSummaryImplSP>(ConstString,
lldb::TypeSummaryImplSP &);
template bool
FormatCache::Get<lldb::SyntheticChildrenSP>(ConstString,
lldb::SyntheticChildrenSP &);
void FormatCache::Set(ConstString type, lldb::TypeFormatImplSP &format_sp) { … }
void FormatCache::Set(ConstString type, lldb::TypeSummaryImplSP &summary_sp) { … }
void FormatCache::Set(ConstString type,
lldb::SyntheticChildrenSP &synthetic_sp) { … }
void FormatCache::Clear() { … }