HomePhabricator

[clangd] Cleanup the duplicated getTokenRange.

Authored by hokein on Jun 25 2019, 1:01 AM.

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

llvm-svn: 364280

Details

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