[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:
Craig Topper 2017-06-13 17:58:59 +00:00
parent 13d5dcb093
commit 65f9da3ff9
2 changed files with 0 additions and 3 deletions

View File

@ -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.

View File

@ -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);