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

Method find

lib/checkunusedvar.cpp:392–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392Variables::VariableUsage *Variables::find(nonneg int varid)
393{
394 if (varid) {
395 const auto i = mVarUsage.find(varid);
396 if (i != mVarUsage.end())
397 return &i->second;
398 }
399 return nullptr;
400}
401
402static const Token* doAssignment(Variables &variables, const Token *tok, bool dereference, const Scope *scope)
403{

Callers 3

doAssignmentFunction · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected