1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02: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.

llvm-svn: 305311
This commit is contained in:
Craig Topper 2017-06-13 17:58:59 +00:00
parent 9326eb04c1
commit e83ea93683
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);