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

Method FileLocation

lib/errorlogger.cpp:729–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727}
728
729ErrorMessage::FileLocation::FileLocation(const std::string &file, int line, unsigned int column)
730 : fileIndex(0), line(line), column(column), mOrigFileName(file), mFileName(Path::simplifyPath(file))
731{}
732
733ErrorMessage::FileLocation::FileLocation(const std::string &file, std::string info, int line, unsigned int column)
734 : fileIndex(0), line(line), column(column), mOrigFileName(file), mFileName(Path::simplifyPath(file)), mInfo(std::move(info))

Callers

nothing calls this directly

Calls 4

simplifyPathFunction · 0.85
fileIndexMethod · 0.80
columnMethod · 0.80
getOrigFileMethod · 0.45

Tested by

no test coverage detected