[PATCH] D70441: [clangd] Speed up when building rename edit.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 06:48:44 PST 2019
hokein created this revision.
hokein added a reviewer: ilya-biryukov.
Herald added subscribers: usaxena95, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
We used to scan the code everytime when computing the LSP position to the offset
(respect the LSP encoding).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70441
Files:
clang-tools-extra/clangd/SourceCode.cpp
clang-tools-extra/clangd/SourceCode.h
clang-tools-extra/clangd/refactor/Rename.cpp
clang-tools-extra/clangd/refactor/Rename.h
clang-tools-extra/clangd/unittests/RenameTests.cpp
clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70441.230065.patch
Type: text/x-patch
Size: 8888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191119/134c0977/attachment.bin>
More information about the cfe-commits
mailing list