Howard
Howard

Reputation: 19825

Clang Static Analyzer for Xcode4

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

Upvotes: 1

Views: 2500

Answers (2)

Robert
Robert

Reputation: 38223

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.

Upvotes: 1

Noah Witherspoon
Noah Witherspoon

Reputation: 57149

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.

Upvotes: 2

Related Questions