9#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_MODEL_ENTITY_ID_TABLE_H
10#define LLVM_CLANG_ANALYSIS_SCALABLE_MODEL_ENTITY_ID_TABLE_H
24 std::map<EntityName, EntityId> Entities;
45 size_t count()
const {
return Entities.size(); }
bool contains(const EntityName &Name) const
Returns true if an entity with the given name exists in the table.
EntityId getId(const EntityName &Name)
Creates or retrieves an EntityId for the given EntityName.
size_t count() const
Returns the number of unique entities in the table.
Lightweight opaque handle representing an entity in an EntityIdTable.
Uniquely identifies an entity in a program.
const internal::ArgumentAdaptingMatcherFunc< internal::ForEachMatcher > forEach
Matches AST nodes that have child AST nodes that match the provided matcher.