diff --git a/include/llvm/Value.h b/include/llvm/Value.h index e092f6d986c..16b62077867 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -93,8 +93,8 @@ protected: /// printing behavior. virtual void printCustom(raw_ostream &O) const; -public: Value(const Type *Ty, unsigned scid); +public: virtual ~Value(); /// dump - Support for debugging, callable in GDB: V->dump()