bool operator() (const lldb::TypeSP& type) { if (type && type->GetSymbolContextScope() != nullptr && modulesp.get() == type->GetSymbolContextScope()->CalculateSymbolContextModule().get()) { type_list.Insert(type); type_map.RemoveTypeWithUID(type->GetID()); return false; } return true; }
bool operator() (const lldb::TypeSP& type) { if (type && type->GetSymbolContextScope() != nullptr && comp_unit == type->GetSymbolContextScope()->CalculateSymbolContextCompileUnit()) { type_list.Insert(type); type_map.RemoveTypeWithUID(type->GetID()); return false; } return true; }