Remove NonCopyable base class to clean up doxygen output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6551 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 82fa75f..d93209d 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -11,7 +11,6 @@
#include "llvm/Target/MRegisterInfo.h"
#include "Support/Annotation.h"
-#include "Support/NonCopyable.h"
#include "Support/iterator"
#include <set>
class Value;
@@ -341,8 +340,7 @@
// a CALL (if any), and return value of a RETURN.
//---------------------------------------------------------------------------
-class MachineInstr: public NonCopyable { // Disable copy operations
-
+class MachineInstr {
MachineOpCode opCode; // the opcode
unsigned opCodeFlags; // flags modifying instrn behavior
std::vector<MachineOperand> operands; // the operands
@@ -355,6 +353,8 @@
// OperandComplete - Return true if it's illegal to add a new operand
bool OperandsComplete() const;
+ MachineInstr(const MachineInstr &); // DO NOT IMPLEMENT
+ void operator=(const MachineInstr&); // DO NOT IMPLEMENT
public:
MachineInstr(MachineOpCode Opcode, unsigned numOperands);