Cppcheck: Print clang command when --verbose is used and build dir is empty
This commit is contained in:
parent
2898a2925d
commit
7719b27e44
|
@ -350,6 +350,8 @@ unsigned int CppCheck::check(const std::string &path)
|
|||
if (!mSettings.buildDir.empty()) {
|
||||
std::ofstream fout(clangcmd);
|
||||
fout << exe << " " << args2 << " " << redirect2 << std::endl;
|
||||
} else if (mSettings.verbose && !mSettings.quiet) {
|
||||
mErrorLogger.reportOut(exe + " " + args2);
|
||||
}
|
||||
|
||||
std::string output2;
|
||||
|
|
Loading…
Reference in New Issue