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/Function.h | |
parent | 130966411f83469b1d9b93df831a2f2146bd400f (diff) |
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/Function.h')
-rw-r--r-- | include/llvm/Function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index f302ff570f..0e852e6ba1 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -228,12 +228,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(); /// Get the underlying elements of the Function... the basic block list is |