diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-08-29 07:30:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-29 07:30:15 +0000 |
commit | 71c8c175fb2a477b90efe745aaf48ed9265300a9 (patch) | |
tree | 117427ea7d084bace38562601037f81b01465a98 /include/llvm/GlobalVariable.h | |
parent | 130966411f83469b1d9b93df831a2f2146bd400f (diff) | |
download | llvm-71c8c175fb2a477b90efe745aaf48ed9265300a9.tar.gz llvm-71c8c175fb2a477b90efe745aaf48ed9265300a9.tar.bz2 llvm-71c8c175fb2a477b90efe745aaf48ed9265300a9.tar.xz |
Add GlobalValue::{removeFromParent,eraseFromParent}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalVariable.h')
-rw-r--r-- | include/llvm/GlobalVariable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h index aae17e409d..1f9bfd4f50 100644 --- a/include/llvm/GlobalVariable.h +++ b/include/llvm/GlobalVariable.h @@ -122,12 +122,12 @@ public: /// removeFromParent - This method unlinks 'this' from the containing module, /// but does not delete it. /// - void removeFromParent(); + virtual void removeFromParent(); /// eraseFromParent - This method unlinks 'this' from the containing module /// and deletes it. /// - void eraseFromParent(); + virtual void eraseFromParent(); /// Override Constant's implementation of this method so we can /// replace constant initializers. |