]> granicus.if.org Git - clang/commit
[clang-rename] Better renaming the typedef decl.
authorHaojian Wu <hokein@google.com>
Wed, 2 Oct 2019 09:50:46 +0000 (09:50 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 2 Oct 2019 09:50:46 +0000 (09:50 +0000)
commit8a4696a6507c068d4451877725d5d618de4c6342
tree9e4668ddb07b0ca716cb2b2ac807234c0e90825a
parent5ff48959823ef911d1f2eb805e0829ee07f1e570
[clang-rename] Better renaming the typedef decl.

Summary:
when renaming a typedef decl, we used to rename the underlying decl of the
typedef, we should rename the typedef itself.

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68322

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373440 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
test/clang-rename/Typedef.cpp [new file with mode: 0644]