Add hashing and DenseMapInfo for ArrayRef
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 18 Oct 2015 14:04:56 +0000 (14:04 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 18 Oct 2015 14:04:56 +0000 (14:04 +0000)
commit899fdb1533eb7ec9ed228c872dcc86fcfb49638a
tree8bfce5208e76ee483cb27619dce3cb3bc950bf7b
parenta650c6cf1c98cf02fbdfeb201ced0e2cb62210d2
Add hashing and DenseMapInfo for ArrayRef

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.

This will be used in lld in a sec.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250658 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ArrayRef.h
include/llvm/ADT/DenseMapInfo.h