This is an archive of the discontinued LLVM Phabricator instance.

Add hashing and DenseMapInfo for ArrayRef
Needs ReviewPublic

Authored by espindola on Oct 15 2015, 7:06 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Sometimes it is more natural to use a ArrayRef<uint8_t> than a StringRef to represent a range of bytes that is not, semantically, a string.

Diff Detail

Repository
rL LLVM

Event Timeline

rafael updated this revision to Diff 37480.Oct 15 2015, 7:06 AM
rafael retitled this revision from to Add hashing and DenseMapInfo for ArrayRef.
rafael updated this object.
rafael added a reviewer: chandlerc.
rafael set the repository for this revision to rL LLVM.
rafael added a subscriber: llvm-commits.

Looks good! (optional unit tests - no doubt similar things don't bother
with them - but could be nice)

espindola commandeered this revision.Mar 15 2018, 8:59 AM
espindola added a reviewer: rafael.