summaryrefslogtreecommitdiff
path: root/lib/VMCore/Value.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 18:30:12 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 18:30:12 +0000
commit2bbb7e3ca609dcd2eb2ae3b98d85fe002baf653e (patch)
tree2eeef0c0afa8c23cf8d7142dac25a5008258bc75 /lib/VMCore/Value.cpp
parent2774dc085d36c2097e080e2e0ea46a7e49be37af (diff)
downloadllvm-2bbb7e3ca609dcd2eb2ae3b98d85fe002baf653e.tar.gz
llvm-2bbb7e3ca609dcd2eb2ae3b98d85fe002baf653e.tar.bz2
llvm-2bbb7e3ca609dcd2eb2ae3b98d85fe002baf653e.tar.xz
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
Diffstat (limited to 'lib/VMCore/Value.cpp')
-rw-r--r--lib/VMCore/Value.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index b9a1e54935..291df91770 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())