[all-commits] [llvm/llvm-project] d1aec7: [clangd] Remove calls to getFileLoc() in declToSym...
Nathan Ridge via All-commits
all-commits at lists.llvm.org
Tue Mar 5 20:12:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1aec79a2ce077e49da7699c4ca2dee239d0a249
https://github.com/llvm/llvm-project/commit/d1aec79a2ce077e49da7699c4ca2dee239d0a249
Author: Nathan Ridge <zeratul976 at hotmail.com>
Date: 2024-03-05 (Tue, 05 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list