clang 23.0.0git
clang::ssaf::AnalysisName Class Reference

Uniquely identifies a whole-program analysis and the AnalysisResult it produces. More...

#include "clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisName.h"

Public Member Functions

 AnalysisName (std::string Name)
bool operator== (const AnalysisName &Other) const
bool operator!= (const AnalysisName &Other) const
bool operator< (const AnalysisName &Other) const
llvm::StringRef str () const
 Explicit conversion to the underlying string representation.

Detailed Description

Uniquely identifies a whole-program analysis and the AnalysisResult it produces.

Used as the key in WPASuite and AnalysisRegistry.

Distinct from SummaryName, which is used by EntitySummary types for routing through the LUSummary.

Definition at line 28 of file AnalysisName.h.

Constructor & Destructor Documentation

◆ AnalysisName()

clang::ssaf::AnalysisName::AnalysisName ( std::string Name)
inlineexplicit

Definition at line 30 of file AnalysisName.h.

Referenced by operator!=(), operator<(), and operator==().

Member Function Documentation

◆ operator!=()

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

Definition at line 35 of file AnalysisName.h.

References AnalysisName(), and clang::Other.

◆ operator<()

bool clang::ssaf::AnalysisName::operator< ( const AnalysisName & Other) const
inline

Definition at line 36 of file AnalysisName.h.

References AnalysisName(), and clang::Other.

◆ operator==()

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

Definition at line 32 of file AnalysisName.h.

References AnalysisName(), and clang::Other.

◆ str()

llvm::StringRef clang::ssaf::AnalysisName::str ( ) const
inline

Explicit conversion to the underlying string representation.

Definition at line 39 of file AnalysisName.h.

Referenced by clang::ssaf::AnalysisRegistry::instantiate(), and clang::ssaf::operator<<().


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