Remove a LLVM_DELETED_FUNCTION from destructor to fix -std=c++11 build on gcc 4.7.

llvm-svn: 164813
This commit is contained in:
Craig Topper 2012-09-28 07:17:01 +00:00
parent aa1af91a31
commit a320f275b7

View File

@ -35,7 +35,9 @@ private:
void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
void *operator new(size_t s) LLVM_DELETED_FUNCTION;
Operator() LLVM_DELETED_FUNCTION;
~Operator() LLVM_DELETED_FUNCTION;
// NOTE: cannot use LLVM_DELETED_FUNCTION because gcc errors when deleting
// an override of a non-deleted function.
~Operator();
public:
/// getOpcode - Return the opcode for this Instruction or ConstantExpr.