Disallow conforming to ObjC protocols with requirements that can't be imported.

For example, variadic ObjC method requirements.

<rdar://problem/17366999>

Swift SVN r19121
This commit is contained in:
Jordan Rose
2014-06-24 01:23:06 +00:00
parent 678bbfe683
commit db3914e94b
12 changed files with 88 additions and 12 deletions

View File

@@ -3207,7 +3207,8 @@ Type ModuleFile::getType(TypeID TID) {
}
ArrayRef<Decl *> ModuleFile::loadAllMembers(const Decl *D,
uint64_t contextData) {
uint64_t contextData,
bool *) {
// FIXME: Add PrettyStackTrace.
BCOffsetRAII restoreOffset(DeclTypeCursor);
DeclTypeCursor.JumpToBit(contextData);