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

Function getVariableFromVarId

lib/symboldatabase.h:1390–1392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1388 }
1389
1390 const Variable *getVariableFromVarId(nonneg int varId) const {
1391 return mVariableList.at(varId);
1392 }
1393
1394 const std::vector<const Variable *> & variableList() const {
1395 return mVariableList;

Callers 2

findFunctionMethod · 0.85

Calls 1

atMethod · 0.80

Tested by

no test coverage detected