8#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEBUILDER_H
9#define LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEBUILDER_H
19 unsigned PointerLevel) {
20 return {Entity, PointerLevel};
23 static std::unique_ptr<UnsafeBufferUsageEntitySummary>
25 return std::make_unique<UnsafeBufferUsageEntitySummary>(
Lightweight opaque handle representing an entity in an EntityIdTable.
An EntityPointerLevel represents a level of the declared pointer/array type of an entity.
TUSummaryBuilder(TUSummary &Summary)
An UnsafeBufferUsageEntitySummary is an immutable set of unsafe buffers, in the form of EntityPointer...
static EntityPointerLevel buildEntityPointerLevel(EntityId Entity, unsigned PointerLevel)
static std::unique_ptr< UnsafeBufferUsageEntitySummary > buildUnsafeBufferUsageEntitySummary(EntityPointerLevelSet &&UnsafeBuffers)
std::set< EntityPointerLevel, EntityPointerLevel::Comparator > EntityPointerLevelSet