commit | e65c7148a7abb25b744287f50add92f13b6b241b | [log] [tgz] |
---|---|---|
author | Nathan Ridge <zeratul976@hotmail.com> | Tue Mar 05 23:12:43 2024 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 05 20:18:19 2024 -0800 |
tree | 34d4b578e17dcbf0b8e4cd73e93d281f63ca51e4 | |
parent | 1514664c1b4a1e081260a6cf9dc8d16e2e6ab8b7 [diff] |
[clangd] Remove calls to getFileLoc() in declToSym() (#83532) toHalfOpenFileRange() already handles translating macro locations to file locations, and it can provide a better result by knowing about both ends of the range. Fixes https://github.com/clangd/clangd/issues/1941 GitOrigin-RevId: d1aec79a2ce077e49da7699c4ca2dee239d0a249