From 42e833c9c46f3a1467cca3c9f44413a814892a62 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Jun 2010 16:46:37 +0000 Subject: [PATCH] make the Value constructor protected. llvm-svn: 106427 --- include/llvm/Value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()