OSDN Git Service

Fix -Wdeprecated warnings due to the use of copy ops on SCEVPredicate derived class...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 9 Nov 2015 23:30:15 +0000 (23:30 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 9 Nov 2015 23:30:15 +0000 (23:30 +0000)
commitb6cb6238b9c5243ec813a860ae153adda1acddff
tree4ba75c3842f3e0d9355e732f0146ec89fa990230
parent36ee8db6826c69e3bfec4b80758ad3e83108156c
Fix -Wdeprecated warnings due to the use of copy ops on SCEVPredicate derived class objects

SCEVUnionPredicate is copied constructed here: lib/Transforms/Scalar/LoopDistribute.cpp:793
and move assigned (which can use the base class's copy ctor just
fine/without extra cost (I'd add it if it weren't for MSVC's issues
meaning = default is insufficient)) here: lib/Transforms/Utils/LoopVersioning.cpp:46

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252537 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h