From 9452b0797a80001920576d7e2ef4af05242cba69 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 2 Jun 2003 22:07:37 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/MachineInstr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 82fa75f6600..d93209d2871 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 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 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);