mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Gardening] Extract basic source info structs from RawComment.h
This commit is contained in:
@@ -526,9 +526,9 @@ namespace {
|
||||
struct DeclLocationsTableData {
|
||||
uint32_t SourceFileOffset;
|
||||
uint32_t DocRangesOffset;
|
||||
LineColumn Loc;
|
||||
LineColumn StartLoc;
|
||||
LineColumn EndLoc;
|
||||
SourcePosition Loc;
|
||||
SourcePosition StartLoc;
|
||||
SourcePosition EndLoc;
|
||||
};
|
||||
|
||||
class USRTableInfo {
|
||||
@@ -643,7 +643,7 @@ public:
|
||||
original offset.
|
||||
*/
|
||||
uint32_t getDocRangesOffset(const Decl *D,
|
||||
ArrayRef<std::pair<LineColumn, uint32_t>> DocRanges) {
|
||||
ArrayRef<std::pair<SourcePosition, uint32_t>> DocRanges) {
|
||||
if (DocRanges.empty()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user