llvm/lldb/source/DataFormatters/TypeCategoryMap.cpp

//===-- TypeCategoryMap.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/TypeCategoryMap.h"

#include "lldb/DataFormatters/FormatClasses.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"

usingnamespacelldb;
usingnamespacelldb_private;

TypeCategoryMap::TypeCategoryMap(IFormatChangeListener *lst)
    :{}

void TypeCategoryMap::Add(KeyType name, const TypeCategoryImplSP &entry) {}

bool TypeCategoryMap::Delete(KeyType name) {}

bool TypeCategoryMap::Enable(KeyType category_name, Position pos) {}

bool TypeCategoryMap::Disable(KeyType category_name) {}

bool TypeCategoryMap::Enable(TypeCategoryImplSP category, Position pos) {}

bool TypeCategoryMap::Disable(TypeCategoryImplSP category) {}

void TypeCategoryMap::EnableAllCategories() {}

void TypeCategoryMap::DisableAllCategories() {}

void TypeCategoryMap::Clear() {}

bool TypeCategoryMap::Get(KeyType name, TypeCategoryImplSP &entry) {}

bool TypeCategoryMap::AnyMatches(
    const FormattersMatchCandidate &candidate_type,
    TypeCategoryImpl::FormatCategoryItems items, bool only_enabled,
    const char **matching_category,
    TypeCategoryImpl::FormatCategoryItems *matching_type) {}

template <typename ImplSP>
void TypeCategoryMap::Get(FormattersMatchData &match_data, ImplSP &retval) {}

/// Explicit instantiations for the three types.
/// \{
template void
TypeCategoryMap::Get<lldb::TypeFormatImplSP>(FormattersMatchData &match_data,
                                             lldb::TypeFormatImplSP &retval);
template void
TypeCategoryMap::Get<lldb::TypeSummaryImplSP>(FormattersMatchData &match_data,
                                              lldb::TypeSummaryImplSP &retval);
template void TypeCategoryMap::Get<lldb::SyntheticChildrenSP>(
    FormattersMatchData &match_data, lldb::SyntheticChildrenSP &retval);
/// \}

void TypeCategoryMap::ForEach(ForEachCallback callback) {}

TypeCategoryImplSP TypeCategoryMap::GetAtIndex(uint32_t index) {}