[cfe-dev] [PATCH] scan-build: Explicitly say "no bugs found"
Jordan Rose
jordan_rose at apple.com
Mon Mar 4 18:34:09 PST 2013
Thanks! Committed as r176472. (For future reference, patches generally go to cfe-commits rather than cfe-dev.)
Jordan
On Mar 4, 2013, at 8:36 , Martin Storsjo <martin at martin.st> wrote:
> Such a message exists for the case when the output directory doesn't
> exist at all, but the output directory seems to be created
> unconditionally.
>
> This makes the result less ambiguous.
> ---
> tools/scan-build/scan-build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build
> index 013c1f6..4965dbd 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;
> }
>
> --
> 1.7.9.4
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list