9#ifndef LLDB_SYMBOL_TYPEMAP_H
10#define LLDB_SYMBOL_TYPEMAP_H
34 void Insert(
const lldb::TypeSP &type);
44 typedef std::multimap<lldb::user_id_t, lldb::TypeSP>
collection;
50 std::function<
bool(
const lldb::TypeSP &type_sp)>
const &callback)
const;
52 void ForEach(std::function<
bool(lldb::TypeSP &type_sp)>
const &callback);
54 bool Remove(
const lldb::TypeSP &type_sp);
57 llvm::StringRef type_basename,
58 lldb::TypeClass type_class,
bool exact_match);
A uniqued constant string class.
A stream class that can stream formatted output to a file.
const TypeMap & operator=(const TypeMap &)=delete
void Dump(Stream *s, bool show_context, lldb::DescriptionLevel level=lldb::eDescriptionLevelFull)
void Insert(const lldb::TypeSP &type)
bool Remove(const lldb::TypeSP &type_sp)
AdaptedIterable< collection, lldb::TypeSP, map_adapter > TypeIterable
collection::const_iterator const_iterator
TypeMap(const TypeMap &)=delete
bool InsertUnique(const lldb::TypeSP &type)
TypeMap FindTypes(ConstString name)
void ForEach(std::function< bool(const lldb::TypeSP &type_sp)> const &callback) const
std::multimap< lldb::user_id_t, lldb::TypeSP > collection
collection::iterator iterator
void RemoveMismatchedTypes(llvm::StringRef type_scope, llvm::StringRef type_basename, lldb::TypeClass type_class, bool exact_match)
lldb::TypeSP GetTypeAtIndex(uint32_t idx)
A class that represents a running process on the host machine.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.