diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-12-17 00:19:22 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-12-17 00:19:22 +0000 |
commit | c5f24a2c2a16681f7816ac053c8f46a2692a3b7a (patch) | |
tree | 68ce46dc573b84e4d1b5cbb2c54484b73f109dcb /include/llvm/GlobalVariable.h | |
parent | e15ccf464cfa78423e34264c2047cb44d6974b65 (diff) | |
download | external_llvm-c5f24a2c2a16681f7816ac053c8f46a2692a3b7a.zip external_llvm-c5f24a2c2a16681f7816ac053c8f46a2692a3b7a.tar.gz external_llvm-c5f24a2c2a16681f7816ac053c8f46a2692a3b7a.tar.bz2 |
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/GlobalVariable.h')
-rw-r--r-- | include/llvm/GlobalVariable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h index 7c6aee3..87df5d5 100644 --- a/include/llvm/GlobalVariable.h +++ b/include/llvm/GlobalVariable.h @@ -34,6 +34,9 @@ template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass, class GlobalVariable : public GlobalValue { friend class SymbolTableListTraits<GlobalVariable, Module, Module, ilist_traits<GlobalVariable> >; + void operator=(const GlobalVariable &); // Do not implement + GlobalVariable(const GlobalVariable &); // Do not implement + void setParent(Module *parent); GlobalVariable *Prev, *Next; |