[PATCH] D64855: [clangd] Added highlightings for template parameters and specializations.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 02:24:21 PDT 2019
hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp:179
+ R"cpp(
+ template<typename $TemplateParameter[[T]], typename = void>
+ class $Class[[A]] {
----------------
hokein wrote:
> could you add some more test cases?
>
> - for unnamed template parameter, `template <typename> class Foo {};`
> - for partial template specialization
Looks like you are still missing the unnamed template parameter `template <typename> class Foo {};` case
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64855/new/
https://reviews.llvm.org/D64855
More information about the cfe-commits
mailing list