[PATCH] D50645: [clangd] Show non-instantiated decls in signatureHelp

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 14 02:12:40 PDT 2018


ilya-biryukov added inline comments.


================
Comment at: clangd/CodeComplete.cpp:721
+      // would get 'std::basic_string<char>').
+      if (auto Func = Candidate.getFunction()) {
+        if (auto Pattern = Func->getTemplateInstantiationPattern())
----------------
hokein wrote:
> nit: auto*, the same below.
Good catch, thanks!


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50645





More information about the cfe-commits mailing list