Skip to content

Commit f9bcd5c

Browse files
committed
cppcheck.cpp: fixed missing verbose logging of clang command when using build dir
1 parent 17a10d0 commit f9bcd5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/cppcheck.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ unsigned int CppCheck::checkClang(const FileWithDetails &file)
464464
if (!mSettings.buildDir.empty()) {
465465
std::ofstream fout(clangcmd);
466466
fout << exe << " " << args2 << " " << redirect2 << std::endl;
467-
} else if (mSettings.verbose && !mSettings.quiet) {
467+
}
468+
if (mSettings.verbose && !mSettings.quiet) {
468469
mErrorLogger.reportOut(exe + " " + args2);
469470
}
470471

0 commit comments

Comments
 (0)