mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user