9#ifndef LLDB_UTILITY_BATON_H
10#define LLDB_UTILITY_BATON_H
15#include "llvm/Support/raw_ostream.h"
44 unsigned indentation)
const = 0;
57 unsigned indentation)
const override;
71 unsigned indentation)
const override {}
A class designed to wrap callback batons so they can cleanup any acquired resources.
virtual void GetDescription(llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const =0
void GetDescription(llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const override
TypedBaton(std::unique_ptr< T > Item)
const T * getItem() const
std::unique_ptr< T > Item
void GetDescription(llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const override
A class that represents a running process on the host machine.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.