mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
(De-)serialization for foreign error conventions.
Printing a module as Objective-C turns out to be a fantastic way to verify the (de-)serialization of foreign error conventions, so collapse the parsing-driving Objective-C printing test of throwing methods into the general test for methods. Swift SVN r27870
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