aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Constants.cpp
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 /lib/VMCore/Constants.cpp
parent7acff25f7f48ccbc8ca55032a59bfd4102ebed72 (diff)
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 'lib/VMCore/Constants.cpp')
-rw-r--r--lib/VMCore/Constants.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index 99a15eae70..dfba3508e0 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -31,10 +31,6 @@ ConstantBool *ConstantBool::False = new ConstantBool(false);
// Constant Class
//===----------------------------------------------------------------------===//
-void Constant::setName(const std::string &Name) {
- // Constants can't take names.
-}
-
void Constant::destroyConstantImpl() {
// When a Constant is destroyed, there may be lingering
// references to the constant by other constants in the constant pool. These