dubbeat
dubbeat

Reputation: 7847

Clang Static Analyzer for xcode for dummies

Could somebody please help me get Clang up and running? (I don't have 3.2)

I've followed numerous tutorials (basically every link off of this page Using Clang Static Analyzer from within XCode) but I just cant get it to work!

The only thing I've managed to do successfully so far is download clang! Grrrr .... dubbeat smash!

Bear in mind I've never written an apple script before.

I have clang on my desktop

Upvotes: 0

Views: 2134

Answers (3)

user7610
user7610

Reputation: 28751

Either use the version bundled in XCode, or download a newer version at https://clang-analyzer.llvm.org/ then see some additional instructions at https://clang-analyzer.llvm.org/xcode.html to switch XCode to that downloaded version.

The question you've linked is quite old and the information is out-of-date, I would not refer to it much, any more.

Upvotes: 0

schaechtele
schaechtele

Reputation: 1130

I don't user the Clang Static Analyzer but there's a built in static analysis in XCode 3.2:

http://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html

Upvotes: 0

Paul R
Paul R

Reputation: 212929

The easiest way is to just update to Xcode 3.2.1 - using clang then becomes a no-brainer - nothing to install or configure - just set the compiler to Clang LLVM 1.0 in the project settings.

Upvotes: 1

Related Questions