[PATCH] D59083: [clangd] Store explicit template specializations in index for code navigation purposes

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 07:37:37 PDT 2019


nridge added a comment.

One of the use cases I imagined for this (unrelated to D58880 <https://reviews.llvm.org/D58880>) is that if the user searches for `vector` (using `workspace/symbols`), they get a separate search result for the `vector` primary template, and a separate one for `vector<bool>`. For this to be useful, the server needs to print the `<bool>` as part of the search result.

(For D58880 <https://reviews.llvm.org/D58880>, I would find it useful for be able to look up an explicit spec. by template-id in the tests, but that can probably be worked around.)


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59083/new/

https://reviews.llvm.org/D59083





More information about the cfe-commits mailing list