CFG::SuccessorIterator::SuccessorProxy:: Expliictly default copy construction as it is deprecated in C++11 in the presence of explicit copy assignment.

See r231099 for similar issues & details in [Small]BitVector.

llvm-svn: 231141
This commit is contained in:
David Blaikie 2015-03-03 21:44:06 +00:00
parent 029c5c7fdb
commit 93f605c228
1 changed files with 2 additions and 0 deletions
llvm/include/llvm/IR

View File

@ -136,6 +136,8 @@ private:
public:
explicit SuccessorProxy(const Self &it) : it(it) {}
SuccessorProxy(const SuccessorProxy&) = default;
SuccessorProxy &operator=(SuccessorProxy r) {
*this = reference(r);
return *this;