[all-commits] [llvm/llvm-project] ec6188: [clangd] Rename constructors and destructors in cr...
Kirill Bobyrev via All-commits
all-commits at lists.llvm.org
Thu Dec 12 04:13:10 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ec618826dfb91c5413353ebcc54f360e43df10a0
https://github.com/llvm/llvm-project/commit/ec618826dfb91c5413353ebcc54f360e43df10a0
Author: Kirill Bobyrev <kbobyrev at google.com>
Date: 2019-12-12 (Thu, 12 Dec 2019)
Changed paths:
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/unittests/RenameTests.cpp
Log Message:
-----------
[clangd] Rename constructors and destructors in cross-file case
* Use ad-hoc Decl canonicalization from Clang-Rename to allow renaming
constructors and destructors while using cross-file rename.
* Manually handle the destructor selection
* Add unit tests to prevent regressions and ensure the correct behaviour
Reviewed by: sammccall
Differential Revision: https://reviews.llvm.org/D71247
More information about the All-commits
mailing list