22 EntityId Id = Summary.IdTable.getId(EN);
24 Summary.LinkageTable.try_emplace(Id,
Linkage).first->second.getLinkage();
30std::pair<EntitySummary *, bool>
31TUSummaryBuilder::addSummaryImpl(
EntityId Entity,
32 std::unique_ptr<EntitySummary> &&
Data) {
33 auto &EntitySummaries = Summary.Data[
Data->getSummaryName()];
34 auto [It, Inserted] = EntitySummaries.try_emplace(Entity, std::move(
Data));
35 return {It->second.get(), Inserted};
Lightweight opaque handle representing an entity in an EntityIdTable.
Uniquely identifies an entity in a program.
EntityId addEntity(const EntityName &EN, EntityLinkageType Linkage)
The JSON file list parser is used to communicate input to InstallAPI.
@ Link
'link' clause, allowed on 'declare' construct.
Linkage
Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have.