Searched refs:src_entry (Results 1 – 1 of 1) sorted by relevance
107 ResourceEntry* dst_entry, ResourceEntry* src_entry, in MergeEntry() argument111 && src_entry->visibility.level != dst_entry->visibility.level) { in MergeEntry()119 if (src_entry->visibility.level > dst_entry->visibility.level) { in MergeEntry()121 if (src_entry->visibility.level == Visibility::Level::kPublic) { in MergeEntry()122 dst_entry->id = src_entry->id; in MergeEntry()124 dst_entry->visibility = std::move(src_entry->visibility); in MergeEntry()125 } else if (src_entry->visibility.level == Visibility::Level::kPublic && in MergeEntry()127 src_entry->id && src_entry->id != dst_entry->id) { in MergeEntry()129 context->GetDiagnostics()->Error(DiagMessage(src) << "cannot merge entry '" << src_entry->name in MergeEntry()135 if (src_entry->allow_new) { in MergeEntry()[all …]