[clangd] Added highlightings for template parameters and specializations.
authorJohan Vikstrom <jvikstrom@google.com>
Thu, 18 Jul 2019 09:56:38 +0000 (09:56 +0000)
committerJohan Vikstrom <jvikstrom@google.com>
Thu, 18 Jul 2019 09:56:38 +0000 (09:56 +0000)
commit51cdd51807ad0b8b9507c12c679ff618a572c0fc
tree5638c9abcb334ed0bbf11fdf60f8a5c0ea0c12ba
parentc38e3efe27aa6be05a3689974f6a8c9d28c20ee2
[clangd] Added highlightings for template parameters and specializations.

Summary: Template parameters and specializations were not being highlighted before. This adds highlightings to those types of tokens by adding two Visit* methods.

Reviewers: hokein, sammccall, ilya-biryukov

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

Tags: #clang

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

llvm-svn: 366420
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-tools-extra/clangd/SemanticHighlighting.h
clang-tools-extra/clangd/test/semantic-highlighting.test
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp