This is an archive of the discontinued LLVM Phabricator instance.

[libc][cpp] Add a constructor to ArrayRef to construct from void * data.
ClosedPublic

Authored by sivachandra on Feb 14 2022, 7:49 AM.

Details

Summary

Also modified operator[] to return a reference to the array element.

Diff Detail

Event Timeline

sivachandra created this revision.Feb 14 2022, 7:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2022, 7:49 AM
sivachandra requested review of this revision.Feb 14 2022, 7:49 AM
lntue accepted this revision.Feb 14 2022, 8:39 AM
This revision is now accepted and ready to land.Feb 14 2022, 8:39 AM