#include "lldb/DataFormatters/LanguageCategory.h"
#include "lldb/DataFormatters/FormatManager.h"
#include "lldb/DataFormatters/TypeCategory.h"
#include "lldb/DataFormatters/TypeFormat.h"
#include "lldb/DataFormatters/TypeSummary.h"
#include "lldb/DataFormatters/TypeSynthetic.h"
#include "lldb/Target/Language.h"
usingnamespacelldb;
usingnamespacelldb_private;
LanguageCategory::LanguageCategory(lldb::LanguageType lang_type)
: … { … }
template<typename ImplSP>
bool LanguageCategory::Get(FormattersMatchData &match_data,
ImplSP &retval_sp) { … }
namespace lldb_private {
template bool
LanguageCategory::Get<lldb::TypeFormatImplSP>(FormattersMatchData &,
lldb::TypeFormatImplSP &);
template bool
LanguageCategory::Get<lldb::TypeSummaryImplSP>(FormattersMatchData &,
lldb::TypeSummaryImplSP &);
template bool
LanguageCategory::Get<lldb::SyntheticChildrenSP>(FormattersMatchData &,
lldb::SyntheticChildrenSP &);
template <>
auto &LanguageCategory::GetHardcodedFinder<lldb::TypeFormatImplSP>() { … }
template <>
auto &LanguageCategory::GetHardcodedFinder<lldb::TypeSummaryImplSP>() { … }
template <>
auto &LanguageCategory::GetHardcodedFinder<lldb::SyntheticChildrenSP>() { … }
}
template <typename ImplSP>
bool LanguageCategory::GetHardcoded(FormatManager &fmt_mgr,
FormattersMatchData &match_data,
ImplSP &retval_sp) { … }
template bool LanguageCategory::GetHardcoded<lldb::TypeFormatImplSP>(
FormatManager &, FormattersMatchData &, lldb::TypeFormatImplSP &);
template bool LanguageCategory::GetHardcoded<lldb::TypeSummaryImplSP>(
FormatManager &, FormattersMatchData &, lldb::TypeSummaryImplSP &);
template bool LanguageCategory::GetHardcoded<lldb::SyntheticChildrenSP>(
FormatManager &, FormattersMatchData &, lldb::SyntheticChildrenSP &);
lldb::TypeCategoryImplSP LanguageCategory::GetCategory() const { … }
FormatCache &LanguageCategory::GetFormatCache() { … }
void LanguageCategory::Enable() { … }
void LanguageCategory::Disable() { … }
bool LanguageCategory::IsEnabled() { … }