diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-03-05 02:33:08 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-03-05 02:33:08 +0000 |
commit | e09b8c41d0eeb17f8cbe73affb213cb7ff8d0718 (patch) | |
tree | d0fe9a830f6add3066d10d7b3a99a76ad26f3d6c /tools/scan-build | |
parent | 41f3f3a4792f46787632fdb94f952f6b3ce3f4ae (diff) |
scan-build: explicitly say "No bugs found" if there are no reports.
Patch by Martin Storsjo!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build')
-rwxr-xr-x | tools/scan-build/scan-build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index 013c1f692f..4965dbdc7a 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -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; } |