mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
- Add DocRangesLayout to the `.swiftsourceinfo`. This is a blob containing an array of `SingleRawComment` source locations. - Add DocLocWriter for serializing `SingleRawComment` locs into the `DocLocsLayout` buffer. Serialize start line, start column, and length of `SingleRawComment` pieces in `.swiftsourceinfo` - Read doc locs when loading basic declaration locs from a ModuleFile. - Load `DOC_LOCS` blob into ModuleFile::DocLocsData - Reconstitute RawComment ranges when available from .swiftsourceinfo - Allow requesting serialized raw comment if available rdar://problem/58339492
92 KiB
92 KiB