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

Function alreadyHasNamespace

lib/tokenize.cpp:11087–11097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11085}
11086
11087static bool alreadyHasNamespace(const Token *first, const Token *last, const Token *end)
11088{
11089 while (end && last->str() == end->str()) {
11090 if (first == last)
11091 return true;
11092 last = last->previous();
11093 end = end->previous();
11094 }
11095
11096 return false;
11097}
11098
11099static Token * deleteAlias(Token * tok)
11100{

Callers 2

expandTemplateMethod · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected