This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Add support for static fields in rename
AbandonedPublic

Authored by kbobyrev on Nov 27 2020, 3:28 AM.

Details

Reviewers
hokein
Summary

Diff Detail

Event Timeline

kbobyrev created this revision.Nov 27 2020, 3:28 AM
Herald added a project: Restricted Project. Β· View Herald TranscriptNov 27 2020, 3:28 AM
kbobyrev requested review of this revision.Nov 27 2020, 3:28 AM
kbobyrev updated this revision to Diff 308008.Nov 27 2020, 3:31 AM

Add comments and a check to ensure proper behavior.

Harbormaster completed remote builds in B80327: Diff 308008.
hokein added inline comments.Dec 1 2020, 6:48 AM
clang-tools-extra/clangd/unittests/RenameTests.cpp
630

hmm, looks like these two tests are already working at head (without the patch).

kbobyrev planned changes to this revision.Dec 8 2020, 2:53 PM

Need to check this patch again.

kbobyrev added inline comments.Dec 10 2020, 4:45 AM
clang-tools-extra/clangd/unittests/RenameTests.cpp
630

You're right, thanks for spotting it πŸ˜† I'm quite confused, though, I was pretty sure it didn't work before. Maybe I did something wrong, I don't know.

kbobyrev abandoned this revision.Feb 18 2021, 5:59 AM

Yeah this does indeed already work.