clang 22.0.0git
EntryPointStats.cpp File Reference
#include "clang/StaticAnalyzer/Core/PathSensitive/EntryPointStats.h"
#include "clang/AST/DeclBase.h"
#include "clang/Analysis/AnalysisDeclContext.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
#include <iterator>

Go to the source code of this file.

Functions

static void checkStatName (const EntryPointStat *M)
static bool isRegistered (llvm::StringLiteral Name)
static std::vector< unsignedconsumeUnsignedStats ()
static std::vector< llvm::StringLiteral > getStatNames ()
static std::vector< boolconsumeBoolStats ()

Variables

static llvm::ManagedStatic< Registry > StatsRegistry

Function Documentation

◆ checkStatName()

void checkStatName ( const EntryPointStat * M)
static

◆ consumeBoolStats()

std::vector< bool > consumeBoolStats ( )
static

Definition at line 158 of file EntryPointStats.cpp.

References StatsRegistry.

Referenced by clang::ento::EntryPointStat::takeSnapshot().

◆ consumeUnsignedStats()

std::vector< unsigned > consumeUnsignedStats ( )
static

Definition at line 118 of file EntryPointStats.cpp.

References StatsRegistry.

Referenced by clang::ento::EntryPointStat::takeSnapshot().

◆ getStatNames()

std::vector< llvm::StringLiteral > getStatNames ( )
static

Definition at line 138 of file EntryPointStats.cpp.

Referenced by clang::ento::EntryPointStat::dumpStatsAsCSV().

◆ isRegistered()

Variable Documentation

◆ StatsRegistry