aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2020-02-25 16:32:22 +0100
committerHaojian Wu <hokein.wu@gmail.com>2020-02-25 16:56:35 +0100
commite6d0bad843c4c84bb762cf93a56c5bdd5cc535c0 (patch)
treea1fe62a622921cd02352dc3588804506e87fe9bc /llvm/lib/CodeGen/MachineInstr.cpp
parenta82ffe9d93a24abf30bcf63081096ea18baf78dc (diff)
downloadllvm-e6d0bad843c4c84bb762cf93a56c5bdd5cc535c0.zip
llvm-e6d0bad843c4c84bb762cf93a56c5bdd5cc535c0.tar.gz
llvm-e6d0bad843c4c84bb762cf93a56c5bdd5cc535c0.tar.bz2
[clang-rename] Add the USR of incomplete decl to the USRSet.
Summary: This fixes a clangd rename issue, which is missing the reference of an incomplete specialization. Unfortunately, I didn't reproduce this issue in clang-rename, I guess the input `FoundDecl` of AdditionalUSRFinder is different in clangd vs clang-rename, clang-rename uses the underlying CXXRecordDecl of the ClassTemplateDecl, which is fixed in https://github.com/llvm/llvm-project/commit/5d862c042b52ae2aad37471d0b83b6c678a520e3; while clangd-rename uses the ClassTemplateDecl. Reviewers: kbobyrev Reviewed By: kbobyrev Subscribers: ilya-biryukov, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D74829
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions