make the Value constructor protected.
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jun 2010 16:46:37 +0000 (16:46 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jun 2010 16:46:37 +0000 (16:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106427 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h

index e092f6d986cbcfb5d614de822120772ea8da7d1a..16b62077867318220e6829bb7a5ed2972e287f2f 100644 (file)
@@ -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()