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

Method getfile

lib/errorlogger.cpp:745–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743{}
744
745std::string ErrorMessage::FileLocation::getfile(bool convert) const
746{
747 if (convert)
748 return Path::toNativeSeparators(mFileName);
749 return mFileName;
750}
751
752std::string ErrorMessage::FileLocation::getOrigFile(bool convert) const
753{

Callers 15

fromErrorMessageMethod · 0.80
serializeMethod · 0.80
toXMLMethod · 0.80
toStringMethod · 0.80
toXmlStringMethod · 0.80
reportErrMethod · 0.80
checkClangMethod · 0.80
serializeLocationsMethod · 0.80
FileLocationConstructMethod · 0.80
FileLocationSetFileMethod · 0.80

Calls

no outgoing calls

Tested by 6

FileLocationConstructMethod · 0.64
FileLocationSetFileMethod · 0.64
FileLocationSetFile2Method · 0.64
FromXmlV2Method · 0.64
SerializeFileLocationMethod · 0.64