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

Function isArrayVar

lib/checkautovariables.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static bool isArrayVar(const Token *tok)
59{
60 const Variable *var = tok->variable();
61 return (var && var->isArray() && !var->isArgument());
62}
63
64static bool isRefPtrArg(const Token *tok)
65{

Callers 1

autoVariablesMethod · 0.85

Calls 2

variableMethod · 0.80
isArrayMethod · 0.80

Tested by

no test coverage detected