diff options
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r-- | include/llvm/GlobalValue.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index 317aa486a4..014cdbe82a 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -121,16 +121,6 @@ public: /// value is outside of the current translation unit... virtual bool isDeclaration() const = 0; - /// removeFromParent - This method unlinks 'this' from the containing module, - /// but does not delete it. - /// - virtual void removeFromParent() = 0; - - /// eraseFromParent - This method unlinks 'this' from the containing module - /// and deletes it. - /// - virtual void eraseFromParent() = 0; - /// getParent - Get the module that this global value is contained inside /// of... inline Module *getParent() { return Parent; } |