remove all of the various setName implementations, consolidating them into

Value::setName, which is no longer virtual.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-03-05 19:51:50 +00:00
parent 7acff25f7f
commit 0d1e40728d
13 changed files with 30 additions and 72 deletions

View File

@@ -85,9 +85,6 @@ public:
const std::string &N = "", Module *M = 0);
~Function();
// Specialize setName to handle symbol table majik.
virtual void setName(const std::string &name);
const Type *getReturnType() const; // Return the type of the ret val
const FunctionType *getFunctionType() const; // Return the FunctionType for me