[cfe-dev] Clang Static analyzer without building

Artem Dergachev via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 25 08:21:08 PDT 2020


As of now we only analyze code that compiles without errors to begin 
with. This does force us to have some amount of interaction with the 
build system.

What are your problems with scan-build though? Is it somehow not working 
for your build system? RTEMS looks like it has a plain old Makefile; as 
long as it respects environment variables CC and CXX, "scan-build make" 
should work just fine.

On 3/25/20 4:59 PM, suyash singh via cfe-dev wrote:
> Hello everyone,
> This is my first mail to the mailing list.
>
> I wanted to ask is there a way to use the Clang Static Analyzer 
> without integrating it with the build process of a project? I want to 
> use the analyzer for analysis of RTEMS codebase
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list