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

Function findOpenParentesisOfMove

lib/valueflow.cpp:3201–3207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3199}
3200
3201static Token* findOpenParentesisOfMove(Token* moveVarTok)
3202{
3203 Token* tok = moveVarTok;
3204 while (tok && tok->str() != "(")
3205 tok = tok->previous();
3206 return tok;
3207}
3208
3209static Token* findEndOfFunctionCallForParameter(Token* parameterToken)
3210{

Callers 1

valueFlowAfterMoveFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected