11#include "llvm/Support/FormattedStream.h"
12#include "llvm/Support/raw_ostream.h"
45 assert(i <
GetSize() &&
"Accessing past the end of a TypeList");
46 for (pos =
m_types.begin(), end =
m_types.end(); pos != end; ++pos) {
55 std::function<
bool(
const lldb::TypeSP &type_sp)>
const &callback)
const {
56 for (
auto pos =
m_types.begin(), end =
m_types.end(); pos != end; ++pos) {
63 std::function<
bool(
lldb::TypeSP &type_sp)>
const &callback) {
64 for (
auto pos =
m_types.begin(), end =
m_types.end(); pos != end; ++pos) {
72 if (
Type *t = pos->get())
73 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