mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02: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