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

Function plistLoc

lib/errorlogger.cpp:843–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

841}
842
843static std::string plistLoc(const char indent[], const ErrorMessage::FileLocation &loc)
844{
845 std::ostringstream ostr;
846 ostr << indent << "<dict>\r\n"
847 << indent << ' ' << "<key>line</key><integer>" << loc.line << "</integer>\r\n"
848 << indent << ' ' << "<key>col</key><integer>" << loc.column << "</integer>\r\n"
849 << indent << ' ' << "<key>file</key><integer>" << loc.fileIndex << "</integer>\r\n"
850 << indent << "</dict>\r\n";
851 return ostr.str();
852}
853
854std::string ErrorLogger::plistData(const ErrorMessage &msg)
855{

Callers 1

plistDataMethod · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected