clang-tools 19.0.0git
Classes | Namespaces | Functions
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
 

Functions

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