commit | 8c20a93bac4f9631d180ff9ec5b562ed2673d78c | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 19 16:36:21 2014 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 19 16:36:21 2014 +0000 |
tree | ff86b3e0e988476c797823054946748682297f15 | |
parent | 93710f07f02b3961556d2344e1baab1f53e4b45e [diff] |
ADT: Avoid using std::equal in ArrayRef::equals MSVC's STL has a bug in `std::equal()`: it asserts on nullptr iterators, causing a block revert in r215981. This works around that by re-writing `ArrayRef::equals()` to do the work itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215986 91177308-0d34-0410-b5e6-96231b3b80d8