MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / operator()

Method operator()

lib/forwardanalyzer.cpp:283–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 AsAnalyze(ForwardTraversal* self, Analyzer::Action* result) : self(self), result(result) {}
282
283 Progress operator()(const Token* tok) const
284 {
285 assert(self);
286 assert(result);
287 return (*this)(tok, self->analyzer->analyze(tok, Analyzer::Direction::Forward));
288 }
289
290 Progress operator()(const Token* /*unused*/, Analyzer::Action action) const
291 {

Callers

nothing calls this directly

Calls 3

analyzeMethod · 0.80
isModifiedMethod · 0.45
isInconclusiveMethod · 0.45

Tested by

no test coverage detected