[cfe-dev] How does scan-build
Christian Gagneraud via cfe-dev
cfe-dev at lists.llvm.org
Thu Jul 18 03:21:40 PDT 2019
On Thu, 18 Jul 2019 at 22:15, Дилян Палаузов <dpa-llvm at aegee.org> wrote:
>
> Hello Christin,
>
> I want to understand how the clang static analyzer is used, and https://clang-analyzer.llvm.org/scan-build.html says to
> use directly “scan-build”.
This documentation *might* be out-dated. What build system are you
using, that is the key question.
It's way easier to use the clang compilation database -- if your
build system supports it --
https://clang.llvm.org/docs/JSONCompilationDatabase.html
Chris
More information about the cfe-dev
mailing list