mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Add warning when .swiftsourceinfo is malformed
Output a warning rather than ignoring a malformed .swiftsourceinfo completely. Resolves rdar://77350048
This commit is contained in:
@@ -1490,3 +1490,7 @@ ModuleFileSharedCore::ModuleFileSharedCore(
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
bool ModuleFileSharedCore::hasSourceInfo() const {
|
||||
return !!DeclUSRsTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user