summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2017-01-14 21:54:58 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2017-01-14 21:54:58 +0000
commit70110ec5827a1d776bdf6a80060ee89bce1ef746 (patch)
treeebefee09159fa7dda6f42044019d0274f0ed7631 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parentfa3674017a7df04630112947fd2de969ac51f7ec (diff)
downloadbcm5719-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/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud