[PATCH] D71596: [clangd] Improve documentation for auto and implicit specs
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 18 02:12:29 PST 2019
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
More information about the cfe-commits
mailing list