summaryrefslogtreecommitdiff
path: root/unittests/Transforms/Utils/Cloning.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-04-21 23:00:42 +0000
committerRui Ueyama <ruiu@google.com>2014-04-21 23:00:42 +0000
commitb5213bb1b0639e48b82e84886e0d8aca6ede5cba (patch)
treebac37fb4a231c73dbc37d8691ad4ca6502b9e4a9 /unittests/Transforms/Utils/Cloning.cpp
parent262f39ed3a8969f07ca7cb4a53bf34d46c1d4351 (diff)
downloadllvm-b5213bb1b0639e48b82e84886e0d8aca6ede5cba.tar.gz
llvm-b5213bb1b0639e48b82e84886e0d8aca6ede5cba.tar.bz2
llvm-b5213bb1b0639e48b82e84886e0d8aca6ede5cba.tar.xz
Fix wrong iterator type
ELFEntityIterator does not implement RandomAccessIterator. It does not even implement BidirectionalIterator. This patch fixes LLD build issue when compiled with MSVC2013 with debug: MSVC's find_if checks if the start iterator is before the end iterator in the sense of operator< if it declares implementing RandomAccessIterator. If a class does not have operator<, it fails to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Transforms/Utils/Cloning.cpp')
0 files changed, 0 insertions, 0 deletions