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

Function nonLocal

lib/fwdanalysis.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78static bool nonLocal(const Variable* var, bool deref)
79{
80 return !var || (!var->isLocal() && !var->isArgument()) || (deref && var->isArgument() && var->isPointer()) || var->isStatic() || var->isExtern();
81}
82
83static bool hasVolatileCastOrVar(const Token *expr)
84{

Callers 2

fwdanalysis.cppFile · 0.85
setupExprVarIdsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected