|
clang 23.0.0git
|
#include "clang/Analysis/Scalable/EntityLinker/EntityLinker.h"
Public Member Functions | |
| EntityLinker (NestedBuildNamespace LUNamespace) | |
| Constructs an EntityLinker to link TU summaries into a LU summary. | |
| llvm::Error | link (std::unique_ptr< TUSummaryEncoding > Summary) |
| Links a TU summary into a LU summary. | |
| LUSummaryEncoding | getOutput () && |
| Returns the accumulated LU summary. | |
Definition at line 28 of file EntityLinker.h.
|
inlineexplicit |
Constructs an EntityLinker to link TU summaries into a LU summary.
| LUNamespace | The namespace identifying this link unit. |
Definition at line 36 of file EntityLinker.h.
|
inline |
Returns the accumulated LU summary.
Definition at line 54 of file EntityLinker.h.
| llvm::Error EntityLinker::link | ( | std::unique_ptr< TUSummaryEncoding > | Summary | ) |
Links a TU summary into a LU summary.
Deduplicates entities, patches entity ID references in the entity summary, and merges them into a single data store.
| Summary | The TU summary to link. Ownership is transferred. |
Definition at line 173 of file EntityLinker.cpp.
References clang::ssaf::ErrorBuilder::build(), clang::ssaf::ErrorBuilder::create(), and ErrorMessages::DuplicateTUNamespace.