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

Function findArgumentPos

lib/astutils.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static int findArgumentPos(const Token* tok, const Token* tokToFind){
91 bool found = false;
92 const int argn = findArgumentPosRecursive(tok, tokToFind, found, 0);
93 if (found)
94 return argn - 1;
95 return -1;
96}
97
98static int getArgumentPos(const Token* ftok, const Token* tokToFind){
99 const Token* tok = ftok;

Callers 1

getArgumentPosFunction · 0.85

Calls 1

findArgumentPosRecursiveFunction · 0.85

Tested by

no test coverage detected