mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
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:
parent
c94a38ff17
commit
8bb12aeeb4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user