Cppcheck
Public Types | Public Member Functions | Public Attributes | List of all members
ValueFlowPassRunner Struct Reference

Public Types

using Clock = std::chrono::steady_clock
 
using TimePoint = std::chrono::time_point< Clock >
 

Public Member Functions

 ValueFlowPassRunner (ValueFlowState state, TimerResultsIntf *timerResults=nullptr)
 
bool run_once (std::initializer_list< ValuePtr< ValueFlowPass >> passes) const
 
bool run (std::initializer_list< ValuePtr< ValueFlowPass >> passes) const
 
bool run (const ValuePtr< ValueFlowPass > &pass) const
 
std::size_t getTotalValues () const
 
void setSkippedFunctions ()
 
void setStopTime ()
 

Public Attributes

ValueFlowState state
 
TimePoint stop
 
TimerResultsIntftimerResults
 

Detailed Description

Definition at line 9445 of file valueflow.cpp.

Member Typedef Documentation

◆ Clock

using ValueFlowPassRunner::Clock = std::chrono::steady_clock

Definition at line 9446 of file valueflow.cpp.

◆ TimePoint

using ValueFlowPassRunner::TimePoint = std::chrono::time_point<Clock>

Definition at line 9447 of file valueflow.cpp.

Constructor & Destructor Documentation

◆ ValueFlowPassRunner()

ValueFlowPassRunner::ValueFlowPassRunner ( ValueFlowState  state,
TimerResultsIntf timerResults = nullptr 
)
inlineexplicit

Definition at line 9448 of file valueflow.cpp.

Member Function Documentation

◆ getTotalValues()

std::size_t ValueFlowPassRunner::getTotalValues ( ) const
inline

Definition at line 9505 of file valueflow.cpp.

References Token::next(), and Token::values().

◆ run() [1/2]

bool ValueFlowPassRunner::run ( const ValuePtr< ValueFlowPass > &  pass) const
inline

Definition at line 9489 of file valueflow.cpp.

◆ run() [2/2]

bool ValueFlowPassRunner::run ( std::initializer_list< ValuePtr< ValueFlowPass >>  passes) const
inline

Definition at line 9462 of file valueflow.cpp.

References debug, emptyString, and normal.

◆ run_once()

bool ValueFlowPassRunner::run_once ( std::initializer_list< ValuePtr< ValueFlowPass >>  passes) const
inline

Definition at line 9455 of file valueflow.cpp.

◆ setSkippedFunctions()

void ValueFlowPassRunner::setSkippedFunctions ( )
inline

◆ setStopTime()

void ValueFlowPassRunner::setStopTime ( )
inline

Definition at line 9550 of file valueflow.cpp.

Member Data Documentation

◆ state

ValueFlowState ValueFlowPassRunner::state

Definition at line 9556 of file valueflow.cpp.

◆ stop

TimePoint ValueFlowPassRunner::stop

Definition at line 9557 of file valueflow.cpp.

◆ timerResults

TimerResultsIntf* ValueFlowPassRunner::timerResults

Definition at line 9558 of file valueflow.cpp.


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