Commit Graph

11 Commits

Author SHA1 Message Date
Chris Willmore
68dd563fbf <rdar://problem/18311362> TLF: Eliminate implicit bridging conversions
Require 'as' when converting from Objective-C type to native type (but
continue to allow implicit conversion from native to Objective-C). This
conversion constraint is called ExplicitConversion; all implicit
conversions are covered by the existing Conversion constraint. Update
standard library and tests to match.

Swift SVN r24496
2015-01-18 00:07:45 +00:00
Chris Lattner
02999cac51 Reinstate the @ on the @objc attribute. This is largely a revert of r19555 with a few tweaks.
Swift SVN r19706
2014-07-08 21:50:34 +00:00
Chris Lattner
7a56499d61 Start making @objc not start with an @ sign:
- Change the parser to accept "objc" without an @ sign as a contextual
   keyword, including the dance to handle the general parenthesized case.
 - Update all comments to refer to "objc" instead of "@objc".
 - Update all diagnostics accordingly.
 - Update all tests that fail due to the diagnostics change.
 - Switch the stdlib to use the new syntax.

This does not switch all tests to use the new syntax, nor does it warn about
the old syntax yet.  That will be forthcoming.  Also, this needs a bit of 
refactoring, which will be coming up.



Swift SVN r19555
2014-07-04 05:57:57 +00:00
Fariborz Jahanian
30b995e09e Re-introduce SDK overlays for Core Image that I reverted
in r19361. Thank you Doug for pointing out that I did
not import Foundation. Sigh, that build systems have different
behavior in buildbot and elsewhere. Hope this fixes the buildbot failure.
// rdar://16726822


Swift SVN r19367
2014-06-30 20:50:06 +00:00
Fariborz Jahanian
ac96ad94d5 Revert r19357 (it fails on buildbot only).
Swift SVN r19361
2014-06-30 20:05:26 +00:00
Fariborz Jahanian
a4b945c486 Overlays for Core Image variadic methods.
// rdar://16726822


Swift SVN r19357
2014-06-30 19:23:03 +00:00
Dave Abrahams
a4db36b6f4 Revert "Overlay for Core Image variadic methods."
It broke my RelWithDebInfo / -DSWIFT_OPTIMIZED=OFF build
This reverts r19297

Swift SVN r19302
2014-06-27 19:36:33 +00:00
Fariborz Jahanian
d7a7ec36aa Overlay for Core Image variadic methods.
With following caveat for iOS.
- In iOS CoreImage is main module.
- CISampler is not defined in iOS
- CoreImage.CIFilter's apply is not available
  in iOS.
// rdar://16726822


Swift SVN r19297
2014-06-27 17:35:06 +00:00
Jordan Rose
3f782ceed3 Drop QuartzCore overlay.
The code is incorrect and depends on functions introduced in this year's OSs.
Additionally, CoreImage is a top-level framework on iOS, so we have to be
more careful if/when we add this back.

Swift SVN r18135
2014-05-15 22:59:15 +00:00
Fariborz Jahanian
ee401b6ed5 Fixes a typo.
Swift SVN r18134
2014-05-15 22:52:27 +00:00
Fariborz Jahanian
6635feb32b Provide sdk vararg overlays for CIFilter and
CISampler per rdar://16726822
(also removed a comment in Foundation.swift).


Swift SVN r18123
2014-05-15 20:13:55 +00:00