This is an archive of the discontinued LLVM Phabricator instance.

[clang-rename] Respect the traversal scope when traversing the entire AST.
ClosedPublic

Authored by hokein on Nov 6 2019, 6:28 AM.

Details

Summary

This should be NFC to clang-rename, by default the traversal scope is
TUDecl. Traversing the TUDecl in clangd is a performance cliff, we should
avoid it.

Diff Detail

Event Timeline

hokein created this revision.Nov 6 2019, 6:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2019, 6:28 AM
This revision is now accepted and ready to land.Nov 6 2019, 6:38 AM
This revision was automatically updated to reflect the committed changes.