forked from OSchip/llvm-project
[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. llvm-svn: 305311
This commit is contained in:
parent
13d5dcb093
commit
65f9da3ff9
|
@ -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…
Reference in New Issue