<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2017-01-15 15:29 GMT+01:00 oddcoder via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello everyone,<br>
<br>
I am student and I am interested in contributing to clang-analyzer, just<br>
curious how to get started.<br></blockquote><div>I would suggest to firstly look at clang-tidy. It is very simple to start and it will make you more familiar with clang's AST</div><div>and you can also write some useful checks very fast.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I saw the list of open projects and all of them are interesting. It will<br>
be great if any one could guide me.<br>
One more thing, I am not sure how would I compile clang-analyzer<br>
I tried compiling everything with `make` then tried `make clang` but it<br>
took ages and never finished, more over it ate up all of my 8 GB ram and<br>
computer gets freezed.<br>
<br></blockquote><div>Compile with </div><div>- clang</div><div>- gold linker (ld.gold)</div><div>- Release build type</div><div><br></div><div>With this configuration I compile llvm and clang with -j32 having only 16GB of ram. </div><div>On 2 core machine it should not take more than 2h (usually arround 1h)</div><div>You should get <b>scan-build</b> binary. I am not sure if you need any other binary than clang and scan-build</div><div>to run static analyzer</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Help with how to get clang-analyzer compiled and how to start<br>
contributing will be greatly appreciated.<br>
<br></blockquote><div>Anna (cc), some good tips about contributing to static analyzer?</div><div><br></div><div>Piotr </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
kind regards,<br>
Ahmed<br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>