summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-21 16:46:37 +0000
committerChris Lattner <sabre@nondot.org>2010-06-21 16:46:37 +0000
commit93c4a7b33bc37fd0270de4ca2206e0195b6e8815 (patch)
treeceb66406a76d7cfe737c3a5a5673420cd39bf77b /llvm
parentcc99b3ca9e9a4fba24db1931d07f00dd5045fb4a (diff)
downloadbcm5719-llvm-93c4a7b33bc37fd0270de4ca2206e0195b6e8815.tar.gz
bcm5719-llvm-93c4a7b33bc37fd0270de4ca2206e0195b6e8815.zip
make the Value constructor protected.
llvm-svn: 106427
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Value.h b/llvm/include/llvm/Value.h
index e092f6d986c..16b62077867 100644
--- a/llvm/include/llvm/Value.h
+++ b/llvm/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()
OpenPOWER on IntegriCloud