[PATCH] D16200: Add --force-analyze-debug-code option to scan-build to force debug build and hopefully enable more precise warnings.
Devin Coughlin via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 11:58:09 PST 2016
dcoughlin added a comment.
In http://reviews.llvm.org/D16200#329173, @ygribov wrote:
> Updated the patch with draft scan-build-py support which I don't know how to test.
Like the perl scan-build, you shouldn't need to install scan-build-py to run it. You can just run the scan-build script in the 'tools/scan-build-py/bin/' directory in the clang source directory.
As for real tests, scan-build-py has custom unit-ish tests in 'tools/scan-build-py/tests/' that you might extend. These are not run automatically yet.
We have plans to add lit-based tests for scan-build. This will help with qualifying scan-build-py before it replaces the perl scan-build and will also provide a more solid testing foundation moving forward.
Repository:
rL LLVM
http://reviews.llvm.org/D16200
More information about the llvm-commits
mailing list