|
clang 23.0.0git
|
#include "clang/Analysis/Scalable/TUSummary/TUSummaryBuilder.h"
Public Member Functions | |
| TUSummaryBuilder (TUSummary &Summary) | |
| EntityId | addEntity (const EntityName &E) |
| Add an entity to the summary and return its EntityId. | |
| template<typename ConcreteEntitySummary, DerivesFromEntitySummary< ConcreteEntitySummary > * = nullptr> | |
| std::pair< EntitySummary *, bool > | addSummary (EntityId Entity, std::unique_ptr< ConcreteEntitySummary > &&Data) |
Associate the Data EntitySummary with the Entity. | |
Definition at line 22 of file TUSummaryBuilder.h.
|
inlineexplicit |
Definition at line 24 of file TUSummaryBuilder.h.
| EntityId TUSummaryBuilder::addEntity | ( | const EntityName & | E | ) |
Add an entity to the summary and return its EntityId.
If the entity already exists, returns the existing ID (idempotent).
Definition at line 11 of file TUSummaryBuilder.cpp.
| std::pair< EntitySummary *, bool > clang::ssaf::TUSummaryBuilder::addSummary | ( | EntityId | Entity, |
| std::unique_ptr< ConcreteEntitySummary > && | Data ) |
Associate the Data EntitySummary with the Entity.
This consumes the Data only if Entity wasn't associated yet with the same kind of EntitySummary.
EntitySummary and whether it inserted or not. Definition at line 56 of file TUSummaryBuilder.h.
References clang::Data.