[PATCH] D70811: [clangd] Don't perform rename when the refs result from index is incomplete.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 28 04:03:10 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.

Also do an early return if the number of affected files > limit to save
some unnecessary FileURI computations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70811

Files:
  clang-tools-extra/clangd/refactor/Rename.cpp
  clang-tools-extra/clangd/unittests/RenameTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70811.231399.patch
Type: text/x-patch
Size: 4353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191128/78e410f4/attachment.bin>


More information about the cfe-commits mailing list