This is an archive of the discontinued LLVM Phabricator instance.

[Docs] Update GEP docs for opaque pointers
ClosedPublic

Authored by nikic on Jul 22 2022, 5:37 AM.

Details

Reviewers
aeubanks
Group Reviewers
Restricted Project
Commits
rGb66ca91fe6f9: [Docs] Update GEP docs for opaque pointers
Summary

Update the GEP FAQ to use opaque pointers. This requires more than a syntactic change in some place, because some of the concerns just don't make sense anymore (trying to index past a ptr member in a struct for example).

Diff Detail

Event Timeline

nikic created this revision.Jul 22 2022, 5:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2022, 5:37 AM
nikic requested review of this revision.Jul 22 2022, 5:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2022, 5:37 AM
aeubanks accepted this revision.Jul 22 2022, 7:12 AM
aeubanks added a subscriber: aeubanks.
aeubanks added inline comments.
llvm/docs/GetElementPtr.rst
245–247

not sure if it's worth mentioning pre-opaque pointers

This revision is now accepted and ready to land.Jul 22 2022, 7:12 AM
This revision was landed with ongoing or failed builds.Jul 25 2022, 12:52 AM
This revision was automatically updated to reflect the committed changes.
nikic marked an inline comment as done.