diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-19 16:36:21 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-19 16:36:21 +0000 |
commit | 16bec8e667cf21a69622a4a440f5b196f3c8ff3b (patch) | |
tree | 943f3debb7f9c4daed699ad524a2bb6f292140dc /llvm/tools/llvm-as/llvm-as.cpp | |
parent | ca3957227084d3a0b16bdfeff889a61e7c33bb01 (diff) | |
download | bcm5719-llvm-16bec8e667cf21a69622a4a440f5b196f3c8ff3b.tar.gz bcm5719-llvm-16bec8e667cf21a69622a4a440f5b196f3c8ff3b.zip |
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.
llvm-svn: 215986
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
0 files changed, 0 insertions, 0 deletions