clang 22.0.0git
|
#include "clang/StaticAnalyzer/Core/PathSensitive/EntryPointStats.h"
#include "clang/AST/DeclBase.h"
#include "clang/Analysis/AnalysisDeclContext.h"
#include "clang/Index/USRGeneration.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.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< std::optional< unsigned > > | consumeExplicitlySetStats () |
static std::vector< unsigned > | consumeMaxAndCounterStats () |
static std::vector< llvm::StringLiteral > | getStatNames () |
static std::string | getUSR (const Decl *D) |
Variables | |
static llvm::ManagedStatic< Registry > | StatsRegistry |
|
static |
Definition at line 67 of file EntryPointStats.cpp.
References clang::C, and clang::ento::EntryPointStat::name().
Referenced by clang::ento::EntryPointStat::lockRegistry().
|
static |
Definition at line 131 of file EntryPointStats.cpp.
References StatsRegistry.
Referenced by clang::ento::EntryPointStat::takeSnapshot().
|
static |
Definition at line 141 of file EntryPointStats.cpp.
References StatsRegistry.
Referenced by clang::ento::EntryPointStat::takeSnapshot().
|
static |
Definition at line 157 of file EntryPointStats.cpp.
Referenced by clang::ento::EntryPointStat::dumpStatsAsCSV().
|
static |
Definition at line 166 of file EntryPointStats.cpp.
References clang::index::generateUSRForDecl(), and clang::AnalysisDeclContext::getFunctionName().
|
static |
Definition at line 102 of file EntryPointStats.cpp.
Referenced by clang::ento::CounterEPStat::CounterEPStat(), clang::ento::UnsignedEPStat::UnsignedEPStat(), and clang::ento::UnsignedMaxEPStat::UnsignedMaxEPStat().
|
static |
Definition at line 51 of file EntryPointStats.cpp.
Referenced by consumeExplicitlySetStats(), consumeMaxAndCounterStats(), clang::ento::CounterEPStat::CounterEPStat(), clang::ento::EntryPointStat::dumpStatsAsCSV(), clang::ento::EntryPointStat::lockRegistry(), clang::ento::EntryPointStat::takeSnapshot(), clang::ento::UnsignedEPStat::UnsignedEPStat(), and clang::ento::UnsignedMaxEPStat::UnsignedMaxEPStat().