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

Method setFileName

lib/suppressions.cpp:347–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void SuppressionList::ErrorMessage::setFileName(std::string s)
348{
349 mFileName = Path::simplifyPath(std::move(s));
350}
351
352bool SuppressionList::Suppression::parseComment(std::string comment, std::string *errorMessage)
353{

Callers 4

fromErrorMessageMethod · 0.45
errorMessageMethod · 0.45
symbolMethod · 0.45
errorMessageMethod · 0.45

Calls 1

simplifyPathFunction · 0.85

Tested by 3

errorMessageMethod · 0.36
symbolMethod · 0.36
errorMessageMethod · 0.36