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

Method validateToken

lib/tokenlist.cpp:2064–2073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2062}
2063
2064bool TokenList::validateToken(const Token* tok) const
2065{
2066 if (!tok)
2067 return true;
2068 for (const Token *t = mTokensFrontBack->front; t; t = t->next()) {
2069 if (tok==t)
2070 return true;
2071 }
2072 return false;
2073}
2074
2075void TokenList::simplifyPlatformTypes()
2076{

Callers 1

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected