This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix DocumentSymbol ranges
ClosedPublic

Authored by kbobyrev on Jul 13 2020, 4:19 AM.

Details

Summary

DocumentSymbol ranges were not previously tested and, as a result, had invalid
end location. This patch addresses the issue.

Diff Detail

Event Timeline

kbobyrev created this revision.Jul 13 2020, 4:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2020, 4:19 AM
kbobyrev updated this revision to Diff 277387.Jul 13 2020, 4:41 AM

Use open half ranges for all symbol kinds, adjust variable ranges in tests.

sammccall accepted this revision.Jul 13 2020, 5:58 AM
This revision is now accepted and ready to land.Jul 13 2020, 5:58 AM
This revision was automatically updated to reflect the committed changes.