clang 22.0.0git
clang::ento::UnsignedEPStat Class Reference

#include "clang/StaticAnalyzer/Core/PathSensitive/EntryPointStats.h"

Inheritance diagram for clang::ento::UnsignedEPStat:
[legend]

Public Member Functions

 UnsignedEPStat (llvm::StringLiteral Name)
std::optional< unsignedvalue () const
void reset ()
void set (unsigned V)
Public Member Functions inherited from clang::ento::EntryPointStat
llvm::StringLiteral name () const

Additional Inherited Members

Static Public Member Functions inherited from clang::ento::EntryPointStat
static void lockRegistry (llvm::StringRef CPPFileName, ASTContext &Ctx)
static void takeSnapshot (const Decl *EntryPoint)
static void dumpStatsAsCSV (llvm::raw_ostream &OS)
static void dumpStatsAsCSV (llvm::StringRef FileName)
Protected Member Functions inherited from clang::ento::EntryPointStat
 EntryPointStat (llvm::StringLiteral Name)
 EntryPointStat (const EntryPointStat &)=delete
 EntryPointStat (EntryPointStat &&)=delete
EntryPointStatoperator= (EntryPointStat &)=delete
EntryPointStatoperator= (EntryPointStat &&)=delete

Detailed Description

Definition at line 83 of file EntryPointStats.h.

Constructor & Destructor Documentation

◆ UnsignedEPStat()

UnsignedEPStat::UnsignedEPStat ( llvm::StringLiteral Name)
explicit

Definition at line 124 of file EntryPointStats.cpp.

References isRegistered(), and StatsRegistry.

Member Function Documentation

◆ reset()

void clang::ento::UnsignedEPStat::reset ( )
inline

Definition at line 90 of file EntryPointStats.h.

◆ set()

void clang::ento::UnsignedEPStat::set ( unsigned V)
inline

Definition at line 91 of file EntryPointStats.h.

References V.

◆ value()

std::optional< unsigned > clang::ento::UnsignedEPStat::value ( ) const
inline

Definition at line 89 of file EntryPointStats.h.


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