summaryrefslogtreecommitdiff
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-05 19:51:50 +0000
committerChris Lattner <sabre@nondot.org>2005-03-05 19:51:50 +0000
commit0d1e40728d668085257b78657b381e1f13d77d52 (patch)
tree00e51cc189ccb0faa187276ed1c6ca5f2d953b9e /include/llvm/Value.h
parent7acff25f7f48ccbc8ca55032a59bfd4102ebed72 (diff)
downloadllvm-0d1e40728d668085257b78657b381e1f13d77d52.tar.gz
llvm-0d1e40728d668085257b78657b381e1f13d77d52.tar.bz2
llvm-0d1e40728d668085257b78657b381e1f13d77d52.tar.xz
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
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r--include/llvm/Value.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index f59e946128..164c7ee811 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -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