llvm/lldb/source/DataFormatters/FormatCache.cpp

//===-- FormatCache.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/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>() {}

} // namespace lldb_private

template <typename ImplSP>
bool FormatCache::Get(ConstString type, ImplSP &format_impl_sp) {}

/// Explicit instantiations for the three types.
/// \{
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() {}