[clangd][vscode] Make SemanticHighlightingFeature more self-contained.
authorHaojian Wu <hokein@google.com>
Thu, 5 Sep 2019 09:14:04 +0000 (09:14 +0000)
committerHaojian Wu <hokein@google.com>
Thu, 5 Sep 2019 09:14:04 +0000 (09:14 +0000)
commit8db9e0e6976e084764cd7a30098b5fa12ddb7f7f
tree478f3dc73489dc95142450fb5a8328ac4ba10dc4
parent91a5a2afe464c8b3ff5743ba9a930b79fbe2a765
[clangd][vscode] Make SemanticHighlightingFeature more self-contained.

Summary:
so that we don't have too many usage from the client side (just a single
occurrance for register), this also aligns with how other builtin feature
being implemented in vscode.

Reviewers: ilya-biryukov

Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

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

llvm-svn: 371036
clang-tools-extra/clangd/clients/clangd-vscode/src/extension.ts
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts