llvm/clang-tools-extra/clangd/support/MemoryTree.cpp

//===--- MemoryTree.h - A special tree for components and sizes -----------===//
//
// 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 "support/MemoryTree.h"
#include "Trace.h"
#include "llvm/ADT/StringRef.h"
#include <cstddef>

namespace clang {
namespace clangd {

namespace {

size_t traverseTree(const MemoryTree &MT, std::string &ComponentName,
                    const trace::Metric &Out) {}
} // namespace

MemoryTree &MemoryTree::createChild(llvm::StringRef Name) {}

const llvm::DenseMap<llvm::StringRef, MemoryTree> &
MemoryTree::children() const {}

size_t MemoryTree::total() const {}

void record(const MemoryTree &MT, std::string RootName,
            const trace::Metric &Out) {}
} // namespace clangd
} // namespace clang