HomePhabricator

[clangd] Cleanup the duplicated getTokenRange.

Description

[clangd] Cleanup the duplicated getTokenRange.

Summary:
Also lift it to SourceCode.h, so that it can be used in other places
(semantic code highlighting).

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63714

Details

Committed
hokeinTue, Jun 25, 1:01 AM
Differential Revision
D63714: [clangd] Cleanup the duplicated getTokenRange.
Parents
rL364279: [ASTImporter] Store import errors for Decls
Branches
Unknown
Tags
Unknown