[PATCH] D74829: [clang-rename] Add the USR of incomplete decl to the USRSet.

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 00:48:24 PST 2020


kbobyrev accepted this revision.
kbobyrev added a comment.
This revision is now accepted and ready to land.

Let me try to reproduce it in Clang-Rename. If I don't respond by tomorrow, feel free to submit the patch.



================
Comment at: clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp:130
+  void addUSRsOfCtorDtors(const CXXRecordDecl *RD) {
+    const auto* RecordDecl = RD->getDefinition();
 
----------------
Nit: `const auto *Definition` and `RecordDecl` could stay the same.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74829/new/

https://reviews.llvm.org/D74829





More information about the cfe-commits mailing list