diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-15 18:30:12 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-15 18:30:12 +0000 |
| commit | be6535b3dca5c5af4ef83c7a2c4fcd941d2bd4b2 (patch) | |
| tree | 399483563ddf0f99e4bc58d76cad534b62032eac /llvm/lib/VMCore | |
| parent | 184e3ceea022cd8c2600df91b8a64f8ee8c52705 (diff) | |
| download | bcm5719-llvm-be6535b3dca5c5af4ef83c7a2c4fcd941d2bd4b2.tar.gz bcm5719-llvm-be6535b3dca5c5af4ef83c7a2c4fcd941d2bd4b2.zip | |
Remove Value::getNameStr. It has been deprecated for a while and provides no additional value over getName().
llvm-svn: 144657
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/Value.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp index b9a1e54935d..291df917706 100644 --- a/llvm/lib/VMCore/Value.cpp +++ b/llvm/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()) |

