MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / valueFlowCondition

Function valueFlowCondition

lib/valueflow.cpp:4953–4962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4951};
4952
4953static void valueFlowCondition(const ValuePtr<ConditionHandler>& handler,
4954 TokenList& tokenlist,
4955 SymbolDatabase& symboldatabase,
4956 ErrorLogger& errorLogger,
4957 const Settings& settings,
4958 const std::set<const Scope*>& skippedFunctions)
4959{
4960 handler->beforeCondition(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions);
4961 handler->afterCondition(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions);
4962}
4963
4964static const Token* getConditionVariable(const Token* tok)
4965{

Callers 1

setValuesMethod · 0.85

Calls 2

beforeConditionMethod · 0.80
afterConditionMethod · 0.80

Tested by

no test coverage detected