Re: Xcode and Clang/LLVM trunk
Re: Xcode and Clang/LLVM trunk
- Subject: Re: Xcode and Clang/LLVM trunk
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 14 Apr 2010 15:43:53 +0200
Le 14 avr. 2010 à 15:35, Warren Dodge a écrit : On Apr 14, 2010, at 12:20 AM, Jean-Daniel Dupas wrote: Le 14 avr. 2010 à 01:53, Warren Dodge a écrit :
It appears that Xcode is hard-coded to run whichever .xcplugin / .xcspec entry has the ID "com.apple.compilers.llvm.clang.1_0.analyzer" as the analyzer. There's no way to configure it per compiler, and without removing the built-in "Clang LLVM 1.0.xcplugin", there's no way to override it.
You can find a script that perform the change in the clang/tools/scan-build/ directory (set-xcode-analyzer in clang sources).
It edits the Xcode clang xcspec but contains an option to revert the change in case you need it.
That's a nice script to modify Xcode's single "com.apple.compilers.llvm.clang.1_0.analyzer" .xcspec, and I'll use it for now. But is there really no way for Xcode to choose between multiple analyzers? Warren
You can create a "Analyzer" Configuration in your project and define CC to point on your clang copy.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden