[llvm] r231110 - Remove explicit copy ctor in favor of the implicit one so that the use of the copy assignment operator is not deprecated.

David Blaikie dblaikie at gmail.com
Tue Mar 3 11:29:14 PST 2015


Author: dblaikie
Date: Tue Mar  3 13:29:14 2015
New Revision: 231110

URL: http://llvm.org/viewvc/llvm-project?rev=231110&view=rev
Log:
Remove explicit copy ctor in favor of the implicit one so that the use of the copy assignment operator is not deprecated.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h?rev=231110&r1=231109&r2=231110&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h Tue Mar  3 13:29:14 2015
@@ -829,7 +829,6 @@ public:
     typedef std::iterator<std::forward_iterator_tag,
                           MachineInstr, ptrdiff_t>::pointer pointer;
 
-    defusechain_iterator(const defusechain_iterator &I) : Op(I.Op) {}
     defusechain_iterator() : Op(nullptr) {}
 
     bool operator==(const defusechain_iterator &x) const {
@@ -932,7 +931,6 @@ public:
     typedef std::iterator<std::forward_iterator_tag,
                           MachineInstr, ptrdiff_t>::pointer pointer;
 
-    defusechain_instr_iterator(const defusechain_instr_iterator &I) : Op(I.Op){}
     defusechain_instr_iterator() : Op(nullptr) {}
 
     bool operator==(const defusechain_instr_iterator &x) const {





More information about the llvm-commits mailing list