mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 17:03:09 +00:00
[IR] Remove a couple explicitly deleted default constructors on classes that have a non-default constructor. NFC
The non-default constructor will implicitly delete the default constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
972ac5094a
commit
b25e880dd0
@ -68,7 +68,6 @@ protected:
|
||||
void *operator new(size_t s) { return User::operator new(s, 0); }
|
||||
|
||||
public:
|
||||
ConstantData() = delete;
|
||||
ConstantData(const ConstantData &) = delete;
|
||||
|
||||
/// Methods to support type inquiry through isa, cast, and dyn_cast.
|
||||
|
@ -903,8 +903,6 @@ protected:
|
||||
BasicBlock *InsertAtEnd);
|
||||
|
||||
public:
|
||||
CmpInst() = delete;
|
||||
|
||||
// allocate space for exactly two operands
|
||||
void *operator new(size_t s) {
|
||||
return User::operator new(s, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user