Commit Graph

2 Commits

Author SHA1 Message Date
Devin Coughlin
d08b98b1ca Sema: Turn on availability checking by default
Enable checking for uses of potentially unavailable APIs. There is
a frontend option to disable it: -disable-availability-checking.

This commit updates the SDK overlays with @availability() annotations for the
declarations where the overlay refers to potentially unavailable APIs. It also changes
several tests that refer to potentially unavailable APIs to use either #available()
or @availability annotations.

Swift SVN r27272
2015-04-14 06:44:01 +00:00
Adrian Prantl
9deae1b6b7 Add a testcase I forgot add before committing r25287.
Swift SVN r25361
2015-02-18 00:46:15 +00:00