summaryrefslogtreecommitdiff
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-12-17 00:19:22 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-12-17 00:19:22 +0000
commitc5f24a2c2a16681f7816ac053c8f46a2692a3b7a (patch)
tree68ce46dc573b84e4d1b5cbb2c54484b73f109dcb /include/llvm/Constant.h
parente15ccf464cfa78423e34264c2047cb44d6974b65 (diff)
downloadllvm-c5f24a2c2a16681f7816ac053c8f46a2692a3b7a.tar.gz
llvm-c5f24a2c2a16681f7816ac053c8f46a2692a3b7a.tar.bz2
llvm-c5f24a2c2a16681f7816ac053c8f46a2692a3b7a.tar.xz
Fix VC++ level 4 warnings. Because a base class has declared these private, VC++ complains it cannot automatically generate this methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index f9d8441a67..e2b77a7e21 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -19,6 +19,8 @@
namespace llvm {
class Constant : public User {
+ void operator=(const Constant &); // Do not implement
+ Constant(const Constant &); // Do not implement
protected:
Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
const std::string& Name = "")