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).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D63874
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 27 2019, 5:19 AM Closed by commit rL364528: [clangd] No need to setTraversalScope in SemanticHighlighting. (authored by hokein). · Explain WhyJun 27 2019, 5:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 206835 clang-tools-extra/trunk/clangd/SemanticHighlighting.h
clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp
|