[llvm-commits] [llvm] r106427 - /llvm/trunk/include/llvm/Value.h

Chris Lattner sabre at nondot.org
Mon Jun 21 09:46:37 PDT 2010


Author: lattner
Date: Mon Jun 21 11:46:37 2010
New Revision: 106427

URL: http://llvm.org/viewvc/llvm-project?rev=106427&view=rev
Log:
make the Value constructor protected.

Modified:
    llvm/trunk/include/llvm/Value.h

Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=106427&r1=106426&r2=106427&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Mon Jun 21 11:46:37 2010
@@ -93,8 +93,8 @@
   /// 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()





More information about the llvm-commits mailing list