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

Method toString

lib/ctu.cpp:69–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67{}
68
69std::string CTU::FileInfo::toString() const
70{
71 std::ostringstream out;
72
73 // Function calls..
74 for (const CTU::FileInfo::FunctionCall &functionCall : functionCalls) {
75 out << functionCall.toXmlString();
76 }
77
78 // Nested calls..
79 for (const CTU::FileInfo::NestedCall &nestedCall : nestedCalls) {
80 out << nestedCall.toXmlString() << "\n";
81 }
82
83 return out.str();
84}
85
86std::string CTU::FileInfo::CallBase::toBaseXmlString() const
87{

Callers 13

simplifyPlatformTypesMethod · 0.45
fromLibraryTypeMethod · 0.45
setFunctionReturnValueFunction · 0.45
printValueFlowMethod · 0.45
debugStringFunction · 0.45
reportErrMethod · 0.45
createDumpFileFunction · 0.45
checkInternalMethod · 0.45
checkNormalTokensMethod · 0.45
hasToLogMethod · 0.45
reportErrMethod · 0.45
suppressionToStringMethod · 0.45

Calls 2

toXmlStringMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected