Clang Static Analyzer for Xcode4

跟風遠走 提交于 2019-12-11 06:55:39

问题


Do we still need Clang Static Analyzer for XCode4? or the built in one is already good enough to use?

http://clang-analyzer.llvm.org/

If not, anyone know how to integrate the above one with Xcode4?

Thanks


回答1:


The built-in static analyzer uses Clang to generate its results. You should see nearly identical (or better) output from the “Build” > “Build and Analyze...” command.




回答2:


Just to add to Noah's answer... The Static Analyzer is great!

You can turn it on to run by default every-time you build. This helps catch problems faster.

The only exception is if you have a very large project and static analysis takes a long time. For most projects it should be a good idea.



来源:https://stackoverflow.com/questions/5650771/clang-static-analyzer-for-xcode4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!