diff options
Diffstat (limited to 'llvm/include/llvm/IR/Constant.h')
-rw-r--r-- | llvm/include/llvm/IR/Constant.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/Constant.h b/llvm/include/llvm/IR/Constant.h index 174e7364c524..9a1d2b80c48e 100644 --- a/llvm/include/llvm/IR/Constant.h +++ b/llvm/include/llvm/IR/Constant.h @@ -43,6 +43,8 @@ protected: Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) : User(ty, vty, Ops, NumOps) {} + ~Constant() = default; + public: void operator=(const Constant &) = delete; Constant(const Constant &) = delete; |