Also lift it to SourceCode.h, so that it can be used in other places
(semantic code highlighting).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 33788 Build 33787: arc lint + arc unit
Paths
| Differential D63714
[clangd] Cleanup the duplicated getTokenRange. ClosedPublic Authored by hokein on Jun 24 2019, 7:04 AM.
Details Summary Also lift it to SourceCode.h, so that it can be used in other places
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 24 2019, 8:45 AM Closed by commit rL364280: [clangd] Cleanup the duplicated getTokenRange. (authored by hokein). · Explain WhyJun 25 2019, 1:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 206208 clang-tools-extra/clangd/SourceCode.h
clang-tools-extra/clangd/SourceCode.cpp
clang-tools-extra/clangd/XRefs.cpp
|
nit: move declaration into if body?