Revert "allow lambdas in mapped_iterator"
authorMike Aizatsky <aizatsky@chromium.org>
Thu, 17 Mar 2016 23:32:20 +0000 (23:32 +0000)
committerMike Aizatsky <aizatsky@chromium.org>
Thu, 17 Mar 2016 23:32:20 +0000 (23:32 +0000)
commit26cc0377bc4abc941a5ed1f35ebd8793d7b5a411
treef5405493e9a22ed4b9f53cbd2ef834c980d12d86
parent35aff03cf213795f2adbe9edc4e8424193dc34ac
Revert "allow lambdas in mapped_iterator"

MSVC as usual:

C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\include\llvm/ADT/STLExtras.h(120):
error C2100: illegal indirection
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\include\llvm/IR/Instructions.h(3966):
note: see reference to class template instantiation
'llvm::mapped_iterator<llvm::User::op_iterator,llvm::CatchSwitchInst::DerefFnTy>'
being compiled

This reverts commit e091dd63f1f34e043748e28ad160d3bc17731168.

llvm-svn: 263760
llvm/include/llvm/ADT/STLExtras.h
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/MappedIteratorTest.cpp [deleted file]