Commit Graph

7 Commits

Author SHA1 Message Date
Doug Gregor
b34ac5ccc7 Additional test updates for the ‘override’ and ‘dynamic’ requests.
Remove one SILGen test (!) because it is testing for something that
no longer happens: because Objective-C initializers now get properly
imported as being ‘dynamic’, we don’t have vtable entries for them
(or their overrides), so this test is no longer interesting. The
non-Objective-C version of this test still persists and is unchanged.
2018-07-18 14:50:40 -07:00
David Zarzycki
995dec5d82 [Sema] Error if ObjC interop is needed when disabled 2018-05-07 14:43:04 -04:00
David Farler
b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00
Jordan Rose
e5b8ff9e84 Continue tweaking the wording of the ObjC selector conflict diagnostics.
Per feedback from Doug. More rdar://problem/19927828

Swift SVN r25740
2015-03-04 02:25:04 +00:00
Jordan Rose
c91952130f Wordsmith the errors for Objective-C selector conflicts.
Also, if warning about an accessor that comes from a stored property,
point to the property rather than the (implicit, source-location-less)
accessor decl.

Both of these changes are aimed at improving the presentation in Xcode.

rdar://problem/19927828

Swift SVN r25725
2015-03-03 23:25:46 +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
Doug Gregor
30c8908355 Add test for Objective-C override diagnostics in multi-file parsing.
This test case currently works because we perform far too much type
checking in multi-file mode.

Swift SVN r23178
2014-11-08 05:46:33 +00:00