This is an archive of the discontinued LLVM Phabricator instance.

Add new ubegin/uend API to StringRef/MDString
AbandonedPublic

Authored by loladiro on Nov 12 2014, 4:55 PM.

Details

Reviewers
dexonsmith
Summary

In some instances (such as in BitCodeWriter - see http://reviews.llvm.org/D6184),
it is useful to get an unsiged version of the data pointer instead. This adds an
appropriate API to be used in BitCodeWriter in a follow up commit.

Diff Detail

Event Timeline

loladiro updated this revision to Diff 16125.Nov 12 2014, 4:55 PM
loladiro retitled this revision from to Add new ubegin/uend API to StringRef/MDString.
loladiro updated this object.
loladiro edited the test plan for this revision. (Show Details)
loladiro added a reviewer: dexonsmith.
loladiro set the repository for this revision to rL LLVM.
loladiro added a subscriber: Unknown Object (MLST).

Could we just do this as a range API without begin/end? Or maybe ArrayRef<>?

It'd be helpful to see the use case to know what a good design is here.

loladiro updated this revision to Diff 16158.Nov 13 2014, 7:31 AM

Address Review comments

loladiro abandoned this revision.May 4 2015, 1:30 PM