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

2019-11-28 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG3c3aca245e67: [clangd] Don't perform rename when the refs result from index is incomplete. (authored by hokein). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org

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

2019-11-28 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov accepted this revision. ilya-biryukov added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D70811/new/ https://reviews.llvm.org/D70811 _

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

2019-11-28 Thread Haojian Wu via Phabricator via cfe-commits
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. Repositor