aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-04-29 18:02:48 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-04-29 18:02:48 +0000
commitc6c98af9e5814e8066c82f20ca11cf646a5fc289 (patch)
tree386170515eb43b2c98aa6240bed797d17406313c /include/llvm/Function.h
parentee181bc899d06c642f27e6a5157e61a5079d0acd (diff)
Implement review feedback
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 71fb87ea66..b3b9716d4d 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -150,12 +150,12 @@ public:
/// removeFromParent - This method unlinks 'this' from the containing module,
/// but does not delete it.
///
- virtual void removeFromParent();
+ void removeFromParent();
/// eraseFromParent - This method unlinks 'this' from the containing module
/// and deletes it.
///
- virtual void eraseFromParent();
+ void eraseFromParent();
/// Get the underlying elements of the Function... the basic block list is