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

Method getIndirect

lib/vf_analyzers.cpp:1565–1571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1563 }
1564
1565 int getIndirect(const Token* tok) const override
1566 {
1567 if (tok->valueType()) {
1568 return tok->valueType()->pointer;
1569 }
1570 return ValueFlowAnalyzer::getIndirect(tok);
1571 }
1572
1573 Action isModified(const Token* tok) const override {
1574 // An iterator won't change the container size

Callers

nothing calls this directly

Calls 1

getIndirectFunction · 0.85

Tested by

no test coverage detected