(De-)serialization for foreign error conventions.

Currently untestable (due to SILGen's inability to handle throwing
@objc methods), but testing will become trivial once that's in place.

Swift SVN r27294
This commit is contained in:
Doug Gregor
2015-04-14 22:57:44 +00:00
parent 9a36586377
commit 759346e5b8
6 changed files with 172 additions and 1 deletions

View File

@@ -660,6 +660,9 @@ public:
GenericParamList *maybeReadGenericParams(DeclContext *DC,
llvm::BitstreamCursor &Cursor,
GenericParamList *outerParams = nullptr);
/// Reads a foreign error conformance from \c DeclTypeCursor, if present.
Optional<ForeignErrorConvention> maybeReadForeignErrorConvention();
};
} // end namespace swift