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

Function isAutoVariableRHS

lib/checkautovariables.cpp:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236static bool isAutoVariableRHS(const Token* tok, const Settings& settings) {
237 return isAddressOfLocalVariable(tok) || isAutoVarArray(tok) || isLocalContainerBuffer(tok, settings);
238}
239
240static bool hasOverloadedAssignment(const Token* tok, bool& inconclusive)
241{

Callers 2

isMemberAssignmentFunction · 0.85
autoVariablesMethod · 0.85

Calls 3

isAddressOfLocalVariableFunction · 0.85
isAutoVarArrayFunction · 0.85
isLocalContainerBufferFunction · 0.85

Tested by

no test coverage detected