void NodeBlockLocals::addTargetDescriptionToInfoMap(TargetMap& classtargets, u32 scid) { UTI cuti = getNodeType(); u32 classNameId = m_state.getClassNameIdForUlamLocalsFilescope(cuti); //cut->getUlamTypeNameOnly(); std::string className = m_state.m_pool.getDataAsString(classNameId); u32 mangledNameId = m_state.getMangledClassNameIdForUlamLocalsFilescope(cuti); //cut->getUlamTypeMangledName(); std::string mangledName = m_state.m_pool.getDataAsString(mangledNameId); struct TargetDesc desc; desc.m_hasTest = false; desc.m_classType = UC_LOCALSFILESCOPE; desc.m_bitsize = 0; desc.m_loc = getNodeLocation(); desc.m_className = className; desc.m_structuredComment = "NONE"; classtargets.insert(std::pair<std::string, struct TargetDesc>(mangledName, desc)); } //addTargetDescriptionToInfoMap
void LaunchDaemon::_AddTarget(Target* target) { fTargets.insert(std::make_pair(target->Title(), target)); }