Cppcheck
|
Public Member Functions | |
std::vector< Condition > | parse (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 Token * | skipNotAndCasts (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 | |
Definition at line 6922 of file valueflow.cpp.
|
inlineoverridevirtual |
Implements ConditionHandler.
Reimplemented in SymbolicConditionHandler, and IteratorConditionHandler.
Definition at line 6923 of file valueflow.cpp.
References Token::astOperand1(), Token::astOperand2(), Token::astParent(), ConditionHandler::Condition::false_values, Token::hasKnownIntValue(), Token::Match(), parseCompareEachInt(), Token::simpleMatch(), Token::str(), ConditionHandler::Condition::true_values, and ConditionHandler::Condition::vartok.