This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Continue test adoption from Clang-Rename
AbandonedPublic

Authored by kbobyrev on Nov 11 2020, 2:00 AM.

Details

Reviewers
hokein
Summary

Tests can not be adopted 1:1 (e.g. Clang-Rename modifies namespace for some
symbols) and some tests appear to not be working due to our selection/other
factors. However, this helps us expose some unexpected bugs and prepares for
the decl canonicalization fix (D71880).

The adopted cases are from Clang-Rename's RenameAliasTest.cpp unittest.

Previous patch in the chain: D91102.

Diff Detail

Event Timeline

kbobyrev created this revision.Nov 11 2020, 2:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 11 2020, 2:00 AM
kbobyrev requested review of this revision.Nov 11 2020, 2:00 AM
kbobyrev updated this revision to Diff 304444.Nov 11 2020, 2:40 AM

Check for equality with .endswith() and remove ---END--- hack

kbobyrev edited the summary of this revision. (Show Details)Nov 11 2020, 2:42 AM
kbobyrev abandoned this revision.Nov 11 2020, 3:13 AM

As discussed offline, these tests are for qualified rename paths so not really useful :(