This is an archive of the discontinued LLVM Phabricator instance.

[IR] Deprecate Type::getPointerTo() (NFC)
AbandonedPublic

Authored by JOE1994 on Jun 6 2023, 6:33 AM.

Details

Reviewers
nikic
Summary

According to discussion from D152173, the current plan is to eventually
get rid of Type::getPointerTo.

Deprecate Type::getPointerTo to discourage use of the API.

Diff Detail

Event Timeline

JOE1994 created this revision.Jun 6 2023, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 6:33 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
JOE1994 requested review of this revision.Jun 6 2023, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 6:33 AM
nikic added a comment.Jun 6 2023, 6:36 AM

Deprecation requires removing all in-tree users first.

JOE1994 abandoned this revision.Jun 6 2023, 7:22 AM

Deprecation requires removing all in-tree users first.

Thanks for your feedback. I'll close this revision, and come back later with commits replacing current uses of getPointerTo.