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 09:20:44 +0200
Le 14 avr. 2010 à 01:53, Warren Dodge a écrit :
> The LLVM / Clang trunk is moving steadily forward, and I'd like to use it for debug builds in Xcode.
> Following directions from here
> http://clang.llvm.org/get_started.html
> and here
> http://shapeof.com/archives/2010/01/using_the_latest_llvm_with_xcode.html
> Xcode will compile using the trunk version.
>
> However, no matter how I modify the Xcode config, I cannot get it to run the trunk version of the analyzer.
> 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.
>
> Is it correct that the analyzer cannot be configured, or have I missed an option somewhere.
>
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.
-- Jean-Daniel
_______________________________________________
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