[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

Chris Lattner lattner at cs.uiuc.edu
Mon Jun 2 17:08:00 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.100 -> 1.101

---
Log message:

Remove NonCopyable base class to clean up doxygen output


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.100 llvm/include/llvm/CodeGen/MachineInstr.h:1.101
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.100	Sat May 31 02:43:01 2003
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Mon Jun  2 17:07:37 2003
@@ -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);
 





More information about the llvm-commits mailing list