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/GlobalAlias.h | |
parent | 130966411f83469b1d9b93df831a2f2146bd400f (diff) | |
download | external_llvm-71c8c175fb2a477b90efe745aaf48ed9265300a9.zip external_llvm-71c8c175fb2a477b90efe745aaf48ed9265300a9.tar.gz external_llvm-71c8c175fb2a477b90efe745aaf48ed9265300a9.tar.bz2 |
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/GlobalAlias.h')
-rw-r--r-- | include/llvm/GlobalAlias.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/GlobalAlias.h b/include/llvm/GlobalAlias.h index 4dfc9c4..6dba21b 100644 --- a/include/llvm/GlobalAlias.h +++ b/include/llvm/GlobalAlias.h @@ -55,12 +55,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(); /// set/getAliasee - These methods retrive and set alias target. void setAliasee(Constant* GV); |