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

Function addPathsToSet

cli/cmdlineparser.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112static bool addPathsToSet(const std::string& fileName, std::set<std::string>& set)
113{
114 std::list<std::string> templist;
115 if (!addIncludePathsToList(fileName, templist))
116 return false;
117 set.insert(templist.cbegin(), templist.cend());
118 return true;
119}
120
121namespace {
122 class XMLErrorMessagesLogger : public ErrorLogger

Callers 1

parseFromArgsMethod · 0.85

Calls 1

addIncludePathsToListFunction · 0.85

Tested by

no test coverage detected