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

Method match

lib/vf_analyzers.cpp:1469–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1467 {}
1468
1469 bool match(const Token* tok) const override {
1470 return tok->exprId() == expr->exprId() || (astIsIterator(tok) && isAliasOf(tok, expr->exprId()));
1471 }
1472
1473 Action isWritable(const Token* tok, Direction /*d*/) const override
1474 {

Callers

nothing calls this directly

Calls 2

astIsIteratorFunction · 0.85
isAliasOfFunction · 0.70

Tested by

no test coverage detected