This is an archive of the discontinued LLVM Phabricator instance.

[clang][ExtractAPI] Remove extra pointer indirection from declaration fragments for Obj-C lightweight generics on id
ClosedPublic

Authored by chaitanyav on Mar 25 2023, 12:12 AM.

Diff Detail

Event Timeline

chaitanyav created this revision.Mar 25 2023, 12:12 AM
Herald added a project: Restricted Project. · View Herald Transcript
chaitanyav requested review of this revision.Mar 25 2023, 12:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2023, 12:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

looks like its waiting on libcxx build(https://buildkite.com/llvm-project/premerge-checks/builds/143382#job-01872209-2788-44ef-930c-11e741ff906e) and it is actively being debugged as per comments on other differential.

dang added inline comments.Mar 29 2023, 8:24 AM
clang/lib/ExtractAPI/DeclarationFragments.cpp
176
176

IIUC the distinction here is that id<Protocol> is a id qualified type, but id<Protocol> * is not? If so this is a fairly subtle point, and worth mentioning in this comment.

Add comment to indicate that id<protocol>* is not an qualified id type

dang accepted this revision.Mar 30 2023, 7:17 AM
This revision is now accepted and ready to land.Mar 30 2023, 7:17 AM