[cfe-dev] How does scan-build

Дилян Палаузов via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 18 03:48:37 PDT 2019

Hello Christian,

I use autoconf/automake.

In fact I want to see what will happen if I combine many source files into one and pass that file to the static
analyzer.  In this use case there is no build system involved.


On Thu, 2019-07-18 at 22:21 +1200, Christian Gagneraud wrote:
> 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