Skip to content

Commit

Permalink
Print whole program analysis progress.
Browse files Browse the repository at this point in the history
Less confusing dots.
  • Loading branch information
dzid26 committed Jun 14, 2024
1 parent 8983636 commit 367e2cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cppcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
if (!mSettings.quiet && (!mCurrentConfig.empty() || checkCount > 1)) {
std::string fixedpath = Path::simplifyPath(filename);
fixedpath = Path::toNativeSeparators(std::move(fixedpath));
mErrorLogger.reportOut("Checking " + fixedpath + ": " + mCurrentConfig + "...", Color::FgGreen);
mErrorLogger.reportOut("Checking... " + fixedpath + ": " + mCurrentConfig, Color::FgGreen);
}

if (!tokenizer.tokens())
Expand Down Expand Up @@ -1480,7 +1480,7 @@ void CppCheck::executeAddonsWholeProgram(const std::list<std::pair<std::string,
if (it == ctuInfoFiles.end())
ctuInfoFiles.push_back(getCtuInfoFileName(dumpFileName));
}

mErrorLogger.reportOut("Checking... whole program", Color::FgGreen);
try {
executeAddons(ctuInfoFiles, "");
} catch (const InternalError& e) {
Expand Down

0 comments on commit 367e2cf

Please sign in to comment.