clang 24.0.0git
clang::ssaf::EntitySourceLocationsSummary Class Referencefinal

An EntitySourceLocationsSummary contains one SourceLocationRecord per declaration site contributed by an entity. More...

#include "clang/ScalableStaticAnalysis/Analyses/SharedLexicalRepresentation/SharedLexicalRepresentation.h"

Inheritance diagram for clang::ssaf::EntitySourceLocationsSummary:
[legend]

Public Member Functions

SummaryName getSummaryName () const override
bool operator== (const EntitySourceLocationsSummary &Other) const
bool empty () const
Public Member Functions inherited from clang::ssaf::EntitySummary
virtual ~EntitySummary ()=default

Static Public Member Functions

static SummaryName summaryName ()

Static Public Attributes

static constexpr llvm::StringLiteral Name = "EntitySourceLocations"

Friends

EntitySourceLocationsSummary buildEntitySourceLocationsSummary (std::vector< SourceLocationRecord > Locs)
llvm::ArrayRef< SourceLocationRecordgetDeclLocations (const EntitySourceLocationsSummary &S)

Detailed Description

An EntitySourceLocationsSummary contains one SourceLocationRecord per declaration site contributed by an entity.

Definition at line 41 of file SharedLexicalRepresentation.h.

Member Function Documentation

◆ empty()

bool clang::ssaf::EntitySourceLocationsSummary::empty ( ) const
inline

Definition at line 62 of file SharedLexicalRepresentation.h.

◆ getSummaryName()

SummaryName clang::ssaf::EntitySourceLocationsSummary::getSummaryName ( ) const
inlineoverridevirtual

Implements clang::ssaf::EntitySummary.

Definition at line 56 of file SharedLexicalRepresentation.h.

References summaryName().

◆ operator==()

bool clang::ssaf::EntitySourceLocationsSummary::operator== ( const EntitySourceLocationsSummary & Other) const
inline

Definition at line 58 of file SharedLexicalRepresentation.h.

References clang::Other.

◆ summaryName()

SummaryName clang::ssaf::EntitySourceLocationsSummary::summaryName ( )
inlinestatic

Definition at line 64 of file SharedLexicalRepresentation.h.

References Name.

Referenced by getSummaryName().

◆ buildEntitySourceLocationsSummary

EntitySourceLocationsSummary buildEntitySourceLocationsSummary ( std::vector< SourceLocationRecord > Locs)
friend

Definition at line 29 of file SharedLexicalRepresentationFormat.cpp.

◆ getDeclLocations

llvm::ArrayRef< SourceLocationRecord > getDeclLocations ( const EntitySourceLocationsSummary & S)
friend

Definition at line 34 of file SharedLexicalRepresentationFormat.cpp.

Member Data Documentation

◆ Name

llvm::StringLiteral clang::ssaf::EntitySourceLocationsSummary::Name = "EntitySourceLocations"
staticconstexpr

The documentation for this class was generated from the following file: