mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #30614 from xymus/fix-deser-indexing
[Serialization] Recover from more failures when reading private declarations
This commit is contained in:
@@ -978,13 +978,14 @@ public:
|
||||
llvm::Expected<ProtocolConformanceRef>
|
||||
readConformanceChecked(llvm::BitstreamCursor &Cursor,
|
||||
GenericEnvironment *genericEnv = nullptr);
|
||||
|
||||
|
||||
/// Read a SILLayout from the given cursor.
|
||||
SILLayout *readSILLayout(llvm::BitstreamCursor &Cursor);
|
||||
|
||||
/// Read the given normal conformance from the current module file.
|
||||
NormalProtocolConformance *
|
||||
readNormalConformance(serialization::NormalConformanceID id);
|
||||
/// Read the given normal conformance from the current module file,
|
||||
/// returns the conformance or the first error.
|
||||
llvm::Expected<NormalProtocolConformance *>
|
||||
readNormalConformanceChecked(serialization::NormalConformanceID id);
|
||||
|
||||
/// Reads a foreign error conformance from \c DeclTypeCursor, if present.
|
||||
Optional<ForeignErrorConvention> maybeReadForeignErrorConvention();
|
||||
|
||||
Reference in New Issue
Block a user