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

Function cmdFileName

lib/cppcheck.cpp:309–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309static std::string cmdFileName(std::string f)
310{
311 f = Path::toNativeSeparators(std::move(f));
312 if (f.find(' ') != std::string::npos)
313 return "\"" + f + "\"";
314 return f;
315}
316
317static std::vector<std::string> split(const std::string &str, const std::string &sep=" ")
318{

Callers 2

executeAddonFunction · 0.85
getClangFlagsFunction · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected