9#ifndef LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEBUILDER_H
10#define LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEBUILDER_H
20 unsigned PointerLevel) {
21 return {Entity, PointerLevel};
24 static std::unique_ptr<UnsafeBufferUsageEntitySummary>
26 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