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

Function joinRelativePath

lib/importproject.cpp:1398–1403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1396}
1397
1398static std::string joinRelativePath(const std::string &path1, const std::string &path2)
1399{
1400 if (!path1.empty() && !Path::isAbsolute(path2))
1401 return path1 + path2;
1402 return path2;
1403}
1404
1405static std::list<std::string> readXmlStringList(const tinyxml2::XMLElement *node, const std::string &path, const char name[], const char attribute[])
1406{

Callers 2

readXmlStringListFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected