]> granicus.if.org Git - llvm/commitdiff
Remove NonCopyable base class to clean up doxygen output
authorChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 22:07:37 +0000 (22:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 22:07:37 +0000 (22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6551 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 82fa75f6600b15125bab7d1b9735214705aadd05..d93209d2871de1218e9832b2aa096fb1a4a67fe1 100644 (file)
@@ -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 @@ private:
 //      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 @@ class MachineInstr: public NonCopyable {      // Disable copy operations
   // 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);