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

Method setFileInfo

lib/analyzerinfo.cpp:208–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void AnalyzerInformation::setFileInfo(const std::string &check, const std::string &fileInfo)
209{
210 if (mOutputStream.is_open() && !fileInfo.empty())
211 mOutputStream << " <FileInfo check=\"" << check << "\">\n" << fileInfo << " </FileInfo>\n";
212}
213
214// TODO: report detailed errors?
215bool AnalyzerInformation::Info::parse(const std::string& filesTxtLine) {

Callers 2

checkInternalMethod · 0.80
checkNormalTokensMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected