[Libreoffice-bugs] [Bug 39596] use the CLang++ static analyser to find bugs

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 23 17:23:51 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=39596

--- Comment #36 from Maarten Hoes <hoes.maarten at gmail.com> ---
I just noticed this option in the output of clang9 'scanbuild -h' :

 --exclude <path>

   Do not run static analyzer against files found in this
   directory (You can specify this option multiple times).
   Could be useful when project contains 3rd party libraries.

Although I have not actually tried it yet, it at least gives the impression
that it might do what you are looking for. I'm assuming we need to exclude at
least these :

$src/*/UnpackedTarball/*
$src/workdir/*
$build/workdir/*
$src/instdir/*
$src/external/*

I'm intrigued. I might take a look at this, but am not committing to anything
yet. Also, Diya Mourya might already have something here already.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200123/0b6a5c92/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list