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

Method ~StdLogger

cli/cppcheckexecutor.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 ~StdLogger() override {
120 if (mSettings.outputFormat == Settings::OutputFormat::sarif) {
121 reportErr(mSarifReport.serialize(mSettings.cppcheckCfgProductName));
122 }
123 delete mErrorOutput;
124 }
125
126 StdLogger(const StdLogger&) = delete;
127 StdLogger& operator=(const SingleExecutor &) = delete;

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.45

Tested by

no test coverage detected