Commit Graph

3 Commits

Author SHA1 Message Date
Jordan Rose
258a0ade12 [APINotes] Protocols cannot use import-as-member. (#4482)
We could support this in the future but right now it's causing problems.
There's also a potential ambiguity issue here where a protocol and class
could have the same name.

In addition to updating the importer, remove the two entries from the
CryptoTokenKit API notes that were trying to use this feature.

rdar://problem/27990168
2016-08-24 16:02:28 -07:00
Joe Groff
e248f83df9 Fix up some more non-prototyped declarations with swift_names.
This is now diagnosed on the Clang side.
2016-05-18 16:05:51 -07:00
Michael Ilseman
884155c09c [Import as member] Refactor testing.
Separate out error tests, so that we can more extensively test
protocol and non-prototype errors. NFC
2016-03-28 15:41:48 -07:00