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

Method run_once

lib/valueflow.cpp:7241–7246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7239 }
7240
7241 bool run_once(std::initializer_list<ValuePtr<ValueFlowPass>> passes) const
7242 {
7243 return std::any_of(passes.begin(), passes.end(), [&](const ValuePtr<ValueFlowPass>& pass) {
7244 return run(pass, 0);
7245 });
7246 }
7247
7248 bool run(std::initializer_list<ValuePtr<ValueFlowPass>> passes) const
7249 {

Callers 1

setValuesMethod · 0.80

Calls 3

runFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected