This is an archive of the discontinued LLVM Phabricator instance.

[clangd] No need to query ctor refs in cross-file rename.
ClosedPublic

Authored by hokein on Mar 2 2020, 1:08 AM.

Details

Summary

This patch reverts https://github.com/llvm/llvm-project/commit/2c5ee78de113484978450b834498e1b0e2aab5c4,
now kythe (https://github.com/kythe/kythe/issues/4381) supports returning ctors refs as part of class references, so
there is no need to query the ctor refs in the index (this would also
make the results worse, lots of duplications)

Diff Detail

Event Timeline

hokein created this revision.Mar 2 2020, 1:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2020, 1:08 AM
sammccall accepted this revision.Mar 2 2020, 1:54 AM

Thanks for following up!

This revision is now accepted and ready to land.Mar 2 2020, 1:54 AM
This revision was automatically updated to reflect the committed changes.