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

Function serializeString

lib/errorlogger.cpp:247–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247static void serializeString(std::string &oss, const std::string & str)
248{
249 oss += std::to_string(str.length());
250 oss += " ";
251 oss += str;
252}
253
254ErrorMessage ErrorMessage::fromInternalError(const InternalError &internalError, const TokenList *tokenList, const std::string &filename, const std::string& msg)
255{

Callers 1

serializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected