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

Function skipCVRefs

lib/valueflow.cpp:1780–1785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1778}
1779
1780static const Token* skipCVRefs(const Token* tok, const Token* endTok)
1781{
1782 while (tok != endTok && Token::Match(tok, "const|volatile|auto|&|&&"))
1783 tok = tok->next();
1784 return tok;
1785}
1786
1787static bool isNotEqual(std::pair<const Token*, const Token*> x, std::pair<const Token*, const Token*> y)
1788{

Callers 1

isNotEqualFunction · 0.85

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected