clang 20.0.0git
|
An abstract data type used to count the number of times a given block has been visited along a path analyzed by CoreEngine. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h"
Classes | |
class | Factory |
Public Member Functions | |
BlockCounter () | |
unsigned | getNumVisited (const StackFrameContext *CallSite, unsigned BlockID) const |
Friends | |
class | Factory |
An abstract data type used to count the number of times a given block has been visited along a path analyzed by CoreEngine.
Definition at line 29 of file BlockCounter.h.
|
inline |
Definition at line 35 of file BlockCounter.h.
References Data.
Referenced by clang::ento::BlockCounter::Factory::GetEmptyCounter(), and clang::ento::BlockCounter::Factory::IncrementCount().
unsigned BlockCounter::getNumVisited | ( | const StackFrameContext * | CallSite, |
unsigned | BlockID | ||
) | const |
Definition at line 57 of file BlockCounter.cpp.
References GetMap(), and clang::T.
Referenced by clang::ento::BlockCounter::Factory::IncrementCount().
|
friend |
Definition at line 52 of file BlockCounter.h.