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

Function locstring

externals/simplecpp/simplecpp.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111#ifdef SIMPLECPP_DEBUG_MACRO_EXPANSION
112static std::string locstring(const simplecpp::Location &loc)
113{
114 std::ostringstream ostr;
115 ostr << '[' << loc.file() << ':' << loc.line << ':' << loc.col << ']';
116 return ostr.str();
117}
118#endif
119
120static long long stringToLL(const std::string &s)

Callers 1

expandMethod · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected