From 2bbb7e3ca609dcd2eb2ae3b98d85fe002baf653e Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 15 Nov 2011 18:30:12 +0000 Subject: Remove Value::getNameStr. It has been deprecated for a while and provides no additional value over getName(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144657 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Value.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index b9a1e54..291df91 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -156,10 +156,6 @@ StringRef Value::getName() const { return Name->getKey(); } -std::string Value::getNameStr() const { - return getName().str(); -} - void Value::setName(const Twine &NewName) { // Fast path for common IRBuilder case of setName("") when there is no name. if (NewName.isTriviallyEmpty() && !hasName()) -- cgit v1.1