This is an archive of the discontinued LLVM Phabricator instance.

[clangd] No need to setTraversalScope in SemanticHighlighting.
ClosedPublic

Authored by hokein on Jun 27 2019, 5:04 AM.

Details

Summary

We have already set it when the AST is being built, and setting TraversalScope
is not free (it will clear the cache, which is expensive to build).

Diff Detail

Repository
rL LLVM

Event Timeline

hokein created this revision.Jun 27 2019, 5:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2019, 5:04 AM
This revision is now accepted and ready to land.Jun 27 2019, 5:19 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2019, 5:22 AM