mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
(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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user