ilya-biryukov added inline comments.
================ Comment at: clang-tools-extra/clangd/Hover.cpp:191 + // attached to that. + if (auto *CTSD = llvm::dyn_cast<ClassTemplateSpecializationDecl>(D)) { + if (!CTSD->isExplicitInstantiationOrSpecialization()) ---------------- You might need to do the same for specializations of functions and variables. Maybe add corresponding tests? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71596/new/ https://reviews.llvm.org/D71596 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits