On Wed, 28 Jan 2015 07:09:32 -0800, Matt Neuburg said:

>Now that Swift is here, is the Static Analyzer a dead letter? Can anyone
>give me a real-life example where the analyzer found a problem that
>normal Swift compilation didn't? Thanks - m.

In general, static analysis can find problems in any language.  ex: typos like 
the following could happen in swift (pseudo code):

 if (a == 5)
   ...
 else if (a == 5)
   ...

Whether the clang analyzer will be taught swift who knows.  Certainly if Apple 
doesn't open source it all, the community won't be able to add new checks like 
they have with C/C++/ObjC.  :(

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 [email protected]
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to