From 44781a0a79e0d3b9f32c2fed4bf0971ff082e525 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106427 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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()