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

@@ -75,9 +75,7 @@ public:
inline bool hasName() const { return !Name.empty(); }
inline const std::string &getName() const { return Name; }
virtual void setName(const std::string &name) {
Name = name;
}
void setName(const std::string &name);
/// replaceAllUsesWith - Go through the uses list for this definition and make
/// each use point to "V" instead of "this". After this completes, 'this's