Clang Static Analyzer for Xcode4

2019-08-07 23:55发布

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

2条回答
Viruses.
2楼-- · 2019-08-08 00:09

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.

enter image description here

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.

查看更多
做个烂人
3楼-- · 2019-08-08 00:29

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.

查看更多
登录 后发表回答