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

Function getnames

lib/library.cpp:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167static std::vector<std::string> getnames(const char *names)
168{
169 std::vector<std::string> ret;
170 while (const char *p = std::strchr(names,',')) {
171 ret.emplace_back(names, p-names);
172 names = p + 1;
173 }
174 ret.emplace_back(names);
175 return ret;
176}
177
178static void gettokenlistfromvalid(const std::string& valid, TokenList& tokenList)
179{

Callers 2

loadMethod · 0.85
loadFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected