OSDN Git Service

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 e092f6d..16b6207 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()