[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
Showing
- clang-tools-extra/clangd/SemanticHighlighting.cpp 27 additions, 0 deletionsclang-tools-extra/clangd/SemanticHighlighting.cpp
- clang-tools-extra/clangd/SemanticHighlighting.h 1 addition, 0 deletionsclang-tools-extra/clangd/SemanticHighlighting.h
- clang-tools-extra/clangd/test/semantic-highlighting.test 3 additions, 0 deletionsclang-tools-extra/clangd/test/semantic-highlighting.test
- clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp 33 additions, 6 deletions...ools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Please register or sign in to comment