This is an archive of the discontinued LLVM Phabricator instance.

[clang] RecursiveASTVisitor visits ObjCPropertyRefExpr's class receiver
ClosedPublic

Authored by dgoldman on Apr 30 2021, 9:20 AM.

Details

Summary

We now make up a TypeLoc for the class receiver to simplify visiting,
notably for indexing, availability, and clangd.

Diff Detail

Event Timeline

dgoldman created this revision.Apr 30 2021, 9:20 AM
dgoldman requested review of this revision.Apr 30 2021, 9:20 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 30 2021, 9:20 AM
benlangmuir added inline comments.
clang/test/Index/Core/index-source.m
410

Is it okay that this is being visited out of source order now? CC @akyrtzi

akyrtzi added inline comments.May 3 2021, 5:04 PM
clang/test/Index/Core/index-source.m
410

It's fine, while recording the data we make sure to keep the entries sorted by location.

Friendly ping

sammccall accepted this revision.Jun 1 2021, 8:13 AM

This looks good from my side, thanks for fixing!

This revision is now accepted and ready to land.Jun 1 2021, 8:13 AM
benlangmuir accepted this revision.Jun 1 2021, 9:14 AM