diff options
author | David Majnemer <david.majnemer@gmail.com> | 2017-01-14 21:54:58 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2017-01-14 21:54:58 +0000 |
commit | 70110ec5827a1d776bdf6a80060ee89bce1ef746 (patch) | |
tree | ebefee09159fa7dda6f42044019d0274f0ed7631 /llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | |
parent | fa3674017a7df04630112947fd2de969ac51f7ec (diff) | |
download | bcm5719-llvm-70110ec5827a1d776bdf6a80060ee89bce1ef746.tar.gz bcm5719-llvm-70110ec5827a1d776bdf6a80060ee89bce1ef746.zip |
Adding const overloads of operator* and operator-> for DenseSet iterators
This fixes some problems when building ClangDiagnostics.cpp on Visual Studio 2017 RC. As far as I understand, there was a change in the implementation of the constructor for std::vector with two iterator parameters, which in our case causes an attempt to dereference const Iterator objects. Since there was no overload for a const Iterator, the compile would fail.
Patch by Hugo Puhlmann!
Differential Revision: https://reviews.llvm.org/D28726
llvm-svn: 292034
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions