diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-05-11 20:46:22 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-05-11 20:46:22 +0000 |
commit | e518c800f6ec46ad25aade3f964718dbb7c2ec50 (patch) | |
tree | 5e1da2e114025b985048dc5aaed50d1042e3b753 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | c2bebe9acab26b5af209f11b3ee978966feab491 (diff) | |
download | llvm-e518c800f6ec46ad25aade3f964718dbb7c2ec50.zip llvm-e518c800f6ec46ad25aade3f964718dbb7c2ec50.tar.gz llvm-e518c800f6ec46ad25aade3f964718dbb7c2ec50.tar.bz2 |
[ThinLTO] Fix Windows debug failure in new iterator
This fixes a debug assert on Windows from the new iterator
implementation added in r269059. The Windows std::vector iterator
operator== checks in debug mode that the containers being iterated over
are the same, which they may not be.
Fixed by checking that we are iterating over the same container before
comparing the container iterators.
llvm-svn: 269232
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions