aboutsummaryrefslogtreecommitdiff
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
commit44781a0a79e0d3b9f32c2fed4bf0971ff082e525 (patch)
tree9c8a6d16f4d6d1aaa19d77929410350855f4bfca
parentc7bd7b7f12f3df9f03f84eff45e8266446c54936 (diff)
make the Value constructor protected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106427 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index e092f6d986..16b6207786 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()