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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2012-09-28 07:17:01 +00:00
parent c94a38ff17
commit 8bb12aeeb4

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.