9#ifndef LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_MODEL_ENTITYIDTABLE_H
10#define LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_MODEL_ENTITYIDTABLE_H
27 std::map<EntityName, EntityId> Entities;
48 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.
friend class SerializationFormat
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.