[PATCH] D82373: [CodeComplete] Tweak code completion for `typename`
liu hui via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 05:49:34 PDT 2020
lh123 created this revision.
lh123 added reviewers: sammccall, kadircet.
Herald added subscribers: cfe-commits, usaxena95, ilya-biryukov.
Herald added a project: clang.
lh123 retitled this revision from "[CodeComplete] Tweak code completion for "typename" to "[CodeComplete] Tweak code completion for `typename`".
Currently, clangd always completes `typename` as `typename qualifier::name`, I think in this completion in the `template <>` is not appropriate. So I tweak it to `typename identifier`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82373
Files:
clang/lib/Sema/SemaCodeComplete.cpp
clang/test/CodeCompletion/ordinary-name-cxx11.cpp
clang/test/CodeCompletion/ordinary-name.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82373.272693.patch
Type: text/x-patch
Size: 6401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200623/6eccd40f/attachment.bin>
More information about the cfe-commits
mailing list