mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #37196 from bnbarham/warn-on-invalid-sourceinfo
[Serialization] Add warning when .swiftsourceinfo is malformed
This commit is contained in:
@@ -1496,3 +1496,7 @@ ModuleFileSharedCore::ModuleFileSharedCore(
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
bool ModuleFileSharedCore::hasSourceInfo() const {
|
||||
return !!DeclUSRsTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user