commit | 63b14baf799b4c3ba8182596073ad5b3f37cd1cc | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Sun Oct 19 19:36:33 2014 +0000 |
committer | Lang Hames <lhames@gmail.com> | Sun Oct 19 19:36:33 2014 +0000 |
tree | dfdd0b92dea33ef979a9cd7df30ab18f95a0606b | |
parent | 63276ccdbd5553ad7af8362f9984b474d2345efa [diff] |
[ADT] Add a 'find_as' operation to DenseSet. This operation is analogous to its counterpart in DenseMap: It allows lookup via cheap-to-construct keys (provided that getHashValue and isEqual are implemented for the cheap key-type in the DenseMapInfo specialization). Thanks to Chandler for the review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220168 91177308-0d34-0410-b5e6-96231b3b80d8