summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-06-13 17:58:59 +0000
committerCraig Topper <craig.topper@intel.com>2017-06-13 17:58:59 +0000
commit65f9da3ff9c87bb5effafad78e4822318d482da8 (patch)
tree3af2c4e4472861d3c1b8efbe15fdf315a0be71cb
parent13d5dcb093ddf1e7d041f0b4a4c7896b3d85b1c0 (diff)
downloadbcm5719-llvm-65f9da3ff9c87bb5effafad78e4822318d482da8.tar.gz
bcm5719-llvm-65f9da3ff9c87bb5effafad78e4822318d482da8.zip
[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
-rw-r--r--llvm/include/llvm/IR/Constants.h1
-rw-r--r--llvm/include/llvm/IR/InstrTypes.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/IR/Constants.h b/llvm/include/llvm/IR/Constants.h
index 2cac965621f..003a6d5d075 100644
--- a/llvm/include/llvm/IR/Constants.h
+++ b/llvm/include/llvm/IR/Constants.h
@@ -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.
diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h
index dd9d75acef7..b3c6644c7e8 100644
--- a/llvm/include/llvm/IR/InstrTypes.h
+++ b/llvm/include/llvm/IR/InstrTypes.h
@@ -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);
OpenPOWER on IntegriCloud