11#include "llvm/Support/FormattedStream.h"
12#include "llvm/Support/raw_ostream.h"
69 assert(i <
GetSize() &&
"Accessing past the end of a TypeList");
70 for (pos =
m_types.begin(), end =
m_types.end(); pos != end; ++pos) {
79 std::function<
bool(
const lldb::TypeSP &type_sp)>
const &callback)
const {
80 for (
auto pos =
m_types.begin(), end =
m_types.end(); pos != end; ++pos) {
87 std::function<
bool(
lldb::TypeSP &type_sp)>
const &callback) {
88 for (
auto pos =
m_types.begin(), end =
m_types.end(); pos != end; ++pos) {
96 if (
Type *t = pos->get())
97 t->Dump(s, show_context);
A stream class that can stream formatted output to a file.
void ForEach(std::function< bool(const lldb::TypeSP &type_sp)> const &callback) const
lldb::TypeSP GetTypeAtIndex(uint32_t idx)
collection::iterator iterator
void Dump(Stream *s, bool show_context)
void Insert(const lldb::TypeSP &type)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Type > TypeSP