Report from llvms static analysis tool

Stephan Bergmann sbergman at redhat.com
Mon Oct 5 06:08:50 PDT 2015


On 10/05/2015 02:54 PM, Daniel wrote:
>> I happened to look at the same set of DeadStore issues the other day via
>> clang-tidy (which is another driver that can use the same static
>> analyzers as scan-build, among others), but many of the more mundane
>> fixes are still only on my hard drive (I pushed a few of them earlier
>> today; should continue to push more).
>
> Stephen,
> Nice! I have not used clang-tidy yet, but I've looked into it, and I
> have to say, it looks pretty awesome. Which checks are you using?
> Have you tried using and custom checkers?

I just ran it with

   -checks='-*,clang-analyzer-deadcode.*'

for now (i.e., reporting DeadStores only), as that appears to turn up 
useful issues without too many false positives.



More information about the LibreOffice mailing list