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

Method setfile

lib/errorlogger.cpp:759–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757}
758
759void ErrorMessage::FileLocation::setfile(std::string file)
760{
761 mFileName = Path::simplifyPath(std::move(file));
762}
763
764std::string ErrorMessage::FileLocation::stringify(bool addcolumn) const
765{

Callers 6

ErrorMessageMethod · 0.80
deserializeMethod · 0.80
FileLocationSetFileMethod · 0.80
FileLocationSetFile2Method · 0.80
ToXmlLocationsMethod · 0.80
SerializeFileLocationMethod · 0.80

Calls 1

simplifyPathFunction · 0.85

Tested by 4

FileLocationSetFileMethod · 0.64
FileLocationSetFile2Method · 0.64
ToXmlLocationsMethod · 0.64
SerializeFileLocationMethod · 0.64