clang-tools 22.0.0git
MemoryTree.h File Reference
#include "Trace.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include <cstddef>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  clang::clangd::MemoryTree
 A tree that can be used to represent memory usage of nested components while preserving the hierarchy. More...

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.

Functions

void clang::clangd::record (const MemoryTree &MT, std::string RootName, const trace::Metric &Out)
 Records total memory usage of each node under Out.