Add GlobalValue::{removeFromParent,eraseFromParent}

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2008-08-29 07:30:15 +00:00
parent 130966411f
commit 71c8c175fb
4 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -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.