[clangd] Allow programmatically disabling rename of virtual method hierarchies.
authorSam McCall <sam.mccall@gmail.com>
Wed, 7 Sep 2022 18:03:44 +0000 (20:03 +0200)
committerSam McCall <sam.mccall@gmail.com>
Mon, 19 Sep 2022 14:59:28 +0000 (16:59 +0200)
commite4244183582721b1ff47be669f1a115625c46a2f
tree93c1be74005eb5a2f05a11576923f45108d57957
parent2538adde5c89d1786973e4b30b574af3f228bc74
[clangd] Allow programmatically disabling rename of virtual method hierarchies.

This feature relies on Relations in the index being complete.
An out-of-tree index implementation is missing some override relations, so
such renames end up breaking the code.
We plan to fix it, but this flag is a cheap band-aid for now.

Differential Revision: https://reviews.llvm.org/D133440
clang-tools-extra/clangd/refactor/Rename.cpp
clang-tools-extra/clangd/refactor/Rename.h