r176472 - scan-build: explicitly say "No bugs found" if there are no reports.
Jordan Rose
jordan_rose at apple.com
Mon Mar 4 18:33:08 PST 2013
Author: jrose
Date: Mon Mar 4 20:33:08 2013
New Revision: 176472
URL: http://llvm.org/viewvc/llvm-project?rev=176472&view=rev
Log:
scan-build: explicitly say "No bugs found" if there are no reports.
Patch by Martin Storsjo!
Modified:
cfe/trunk/tools/scan-build/scan-build
Modified: cfe/trunk/tools/scan-build/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/scan-build?rev=176472&r1=176471&r2=176472&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Mon Mar 4 20:33:08 2013
@@ -505,6 +505,7 @@ sub Postprocess {
Diag("Removing directory '$Dir' because it contains no reports.\n");
system ("rm", "-fR", $Dir);
}
+ Diag("No bugs found.\n");
return 0;
}
More information about the cfe-commits
mailing list