[cfe-dev] millions of warnings from clang -Weverything

Daniel Marjamäki via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 8 05:22:00 PDT 2015


Hello!

I have a script that runs clang on debian packages (currently 2167 projects).

I have now tested what happens when using "clang -Weverything" using clang trunk.

That generates  1.769,321 unique warnings.

So in average there are 816 warnings / project.

I hope this sounds interesting. I have uploaded a report here:
http://cppcheck.sourceforge.net/devinfo/clang-Weverything/index.html


For information I have a similar script that runs cppcheck on all debian source code. Its output is available here:
http://cppcheck.sourceforge.net/devinfo/daca2-report/daca2.html
Those results are quite useful for Cppcheck QA to make sure there is acceptable noise etc.


Best regards,
Daniel Marjamäki


..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB  Warfvinges väg 34  SE-112 51 Stockholm  Sweden

Mobile:                 +46 (0)709 12 42 62
E-mail:                 Daniel.Marjamaki at evidente.se

www.evidente.se


More information about the cfe-dev mailing list