Commit Graph

8 Commits

Author SHA1 Message Date
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Greg Parker
d394efec1f [test] Fix typo in ClangModules/availability_ios.swift from r27053.
Swift SVN r27071
2015-04-07 07:25:16 +00:00
Jordan Rose
182ef27f95 [ClangImporter] Handle __attribute__((availability(swift, unavailable))).
This is the new and improved version of
__attribute__((annotate("swift1_unavailable"))), with the "improved" being
specifically that the 'availability' attribute supports a message.

This requires a corresponding Clang commit.

Swift side of rdar://problem/18768673.

Swift SVN r27053
2015-04-07 02:40:22 +00:00
Dmitri Hrybenko
3b04d1b013 tests: reorganize tests so that they actually use the target platform
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK.  The driver was defaulting to the
host OS.  Thus, we could not run the tests when the standard library was
not built for OS X.

Swift SVN r24504
2015-01-19 06:52:49 +00:00
Greg Parker
32aafa5af2 [test] Don't use %clang-importer-sdk in test availability_ios.swift.
%clang-importer-sdk doesn't work for iOS on all build configurations.


Swift SVN r21270
2014-08-18 23:10:37 +00:00
Ted Kremenek
9a635e8d78 Disable test, and use iOS simulator.
I can't quite figure out why there is no diagnostic here
for the function being unavailable; this test is failing
the buildbots, and at this point I suspect the test is
wrong rather than the logic.  I'll investigate more with
my own iOS build of Swift.

Swift SVN r19226
2014-06-26 08:14:11 +00:00
Ted Kremenek
9886107cba Fix repeated "-target" that I accidentally checked in.
Swift SVN r19218
2014-06-26 04:27:45 +00:00
Ted Kremenek
7f521955a6 Add iOS availability test.
I'm having difficulty running this myself since the iOS library
is difficult to build.

Swift SVN r19203
2014-06-26 00:50:51 +00:00