hokein added inline comments.
================ Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:141 // visit a TypeLoc where the underlying Type is a CXXRecordDecl). + if(isa<ClassTemplateDecl>(D)) { + addToken(Loc, HighlightingKind::Class); ---------------- nit: clang-format ================ Comment at: clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp:179 + R"cpp( + template<typename $TemplateParameter[[T]], typename = void> + class $Class[[A]] { ---------------- could you add some more test cases? - for unnamed template parameter, `template <typename> class Foo {};` - for partial template specialization Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64855/new/ https://reviews.llvm.org/D64855 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits