[all-commits] [llvm/llvm-project] 834c71: [CodeComplete] Tweak code completion for `typename`.
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Fri Jun 26 01:38:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 834c71829cc2e22841bf75e86b988c46252c70dc
https://github.com/llvm/llvm-project/commit/834c71829cc2e22841bf75e86b988c46252c70dc
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/test/CodeCompletion/ordinary-name-cxx11.cpp
M clang/test/CodeCompletion/ordinary-name.cpp
Log Message:
-----------
[CodeComplete] Tweak code completion for `typename`.
Summary:
Currently, clangd always completes `typename` as `typename qualifier::name`, I think the current behavior is not useful when the code completion is triggered in `template <>`. So I tweak it to `typename identifier`.
Patch by @lh123 !
Reviewers: sammccall, kadircet
Reviewed By: kadircet
Subscribers: ilya-biryukov, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D82373
More information about the All-commits
mailing list