Cppcheck
Public Member Functions | List of all members
SimpleConditionHandler Struct Reference
Inheritance diagram for SimpleConditionHandler:
ConditionHandler IteratorConditionHandler SymbolicConditionHandler

Public Member Functions

std::vector< Conditionparse (const Token *tok, const Settings &) const override
 
- Public Member Functions inherited from ConditionHandler
virtual Analyzer::Result forward (Token *start, const Token *stop, const Token *exprTok, const std::list< ValueFlow::Value > &values, TokenList &tokenlist, ErrorLogger &errorLogger, const Settings &settings, SourceLocation loc=SourceLocation::current()) const
 
virtual Analyzer::Result forward (Token *top, const Token *exprTok, const std::list< ValueFlow::Value > &values, TokenList &tokenlist, ErrorLogger &errorLogger, const Settings &settings, SourceLocation loc=SourceLocation::current()) const
 
virtual void reverse (Token *start, const Token *endToken, const Token *exprTok, const std::list< ValueFlow::Value > &values, TokenList &tokenlist, ErrorLogger &errorLogger, const Settings &settings, SourceLocation loc=SourceLocation::current()) const
 
void traverseCondition (const SymbolDatabase &symboldatabase, const Settings &settings, const std::set< const Scope * > &skippedFunctions, const std::function< void(const Condition &cond, Token *tok, const Scope *scope)> &f) const
 
void beforeCondition (TokenList &tokenlist, const SymbolDatabase &symboldatabase, ErrorLogger &errorLogger, const Settings &settings, const std::set< const Scope * > &skippedFunctions) const
 
void afterCondition (TokenList &tokenlist, const SymbolDatabase &symboldatabase, ErrorLogger &errorLogger, const Settings &settings, const std::set< const Scope * > &skippedFunctions) const
 
virtual ~ConditionHandler ()=default
 
 ConditionHandler (const ConditionHandler &)=default
 

Additional Inherited Members

- Static Public Member Functions inherited from ConditionHandler
static TokenskipNotAndCasts (Token *tok, bool *inverted=nullptr)
 
static void fillFromPath (ProgramMemory &pm, const Token *top, MathLib::bigint path, const Settings &settings)
 
- Protected Member Functions inherited from ConditionHandler
 ConditionHandler ()=default
 

Detailed Description

Definition at line 6922 of file valueflow.cpp.

Member Function Documentation

◆ parse()

std::vector<Condition> SimpleConditionHandler::parse ( const Token tok,
const Settings  
) const
inlineoverridevirtual

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