llvm-project
d1aec79a - [clangd] Remove calls to getFileLoc() in declToSym() (#83532)

Commit
1 year ago
[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
Parents
Loading