This is an archive of the discontinued LLVM Phabricator instance.

[clang-rename] Fix rename on variable templates.
ClosedPublic

Authored by hokein on Oct 13 2020, 1:05 AM.

Details

Summary

This patch adds support for renaming variable templates.

Diff Detail

Event Timeline

hokein created this revision.Oct 13 2020, 1:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2020, 1:05 AM
hokein requested review of this revision.Oct 13 2020, 1:05 AM
kbobyrev accepted this revision.Oct 13 2020, 2:06 AM

Oh, that's neat, thanks!

clang/include/clang/AST/DeclTemplate.h
3098

I believe these are from https://reviews.llvm.org/D89221, so probably rebase on top of it?

This revision is now accepted and ready to land.Oct 13 2020, 2:06 AM
hokein added inline comments.Oct 14 2020, 1:04 AM
clang/include/clang/AST/DeclTemplate.h
3098

I think you mean the change in D89220? they are different, this is for VarTemplateDecl, while that one is for ClassTemplateDecl.

kbobyrev added inline comments.Oct 14 2020, 1:27 AM
clang/include/clang/AST/DeclTemplate.h
3098

Ah, you're right, sorry!

This revision was landed with ongoing or failed builds.Oct 19 2020, 12:45 AM
This revision was automatically updated to reflect the committed changes.