[cfe-dev] Query regarding clang development

Anna Zaks via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 6 18:19:51 PDT 2016


> On Apr 5, 2016, at 12:13 AM, Ashwin Ganesh via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> Hi,
>       I am a newbie to clang. I am trying to make a few modifications to the already available checkers in the Static Analyzer . Now , to see the reflected changes should I execute 'make clang' inside the build directory after every change or is there a easier way to do it?

You do need to build clang in order to compile your changes for the static analyzer.
Using ninja builds could be faster. I do not know if we have detailed documentation on using cmake with ninja..

You’d also need to check your changes by running the regression tests as described in http://llvm.org/docs/TestingGuide.html. It is possible to only run tests in a single folder by running lit directly. All static analysis tests are in tests/Analysis.

Anna.
> 
> Regards,
> Ashwin
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160406/d7706c30/attachment.html>


More information about the cfe-dev mailing list