Re: Static Analyzer doesn't always analyze all touched files?
Re: Static Analyzer doesn't always analyze all touched files?
- Subject: Re: Static Analyzer doesn't always analyze all touched files?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 21 Jan 2014 09:03:13 -0800
On Tue, Jan 21, 2014, at 12:25 AM, Jerry Krinock wrote:
>
> Does anyone know how this works? I’d like to have a procedure as part of
> my automatic build and ship that would be guaranteed to analyze
> everything. During my testing, I also tried a Product > Clean, before
> Analyze, but that did not help, just took much longer to analyze.
Starting in Xcode 5, the analyzer does a "shallow" analysis by default.
We were bitten by the same thing—Analyze is part of our build process,
and the analyzer was just blithely skipping some errors.
But I would not expect that to happen for explicit Product > Analyze
invocations.
See if adding CLANG_STATIC_ANALYZER_MODE = deep to your project settings
makes Product > Analyze work correctly. If so, file a bug.
--Kyle Sluder
_______________________________________________
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