diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-26 09:48:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-26 09:48:23 +0000 |
commit | 460f656475738d1a95a6be95346908ce1597df25 (patch) | |
tree | 7a7ec0dc5ad33115b17ffed8902bf8cb7e5ab289 /include | |
parent | 4fa4990bdcb1fc2aa7831b1e6b113998366b2918 (diff) | |
download | external_llvm-460f656475738d1a95a6be95346908ce1597df25.zip external_llvm-460f656475738d1a95a6be95346908ce1597df25.tar.gz external_llvm-460f656475738d1a95a6be95346908ce1597df25.tar.bz2 |
Remove Value::getName{Start,End}, the last of the old Name APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Value.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index b840531..7965ca5 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -110,19 +110,6 @@ public: // All values can potentially be named... inline bool hasName() const { return Name != 0; } ValueName *getValueName() const { return Name; } - - /// getNameStart - Return a pointer to a null terminated string for this name. - /// Note that names can have null characters within the string as well as at - /// their end. This always returns a non-null pointer. - const char *getNameStart() const { - if (!Name) return ""; - return getName().begin(); - } - /// getNameEnd - Return a pointer to the end of the name. - const char *getNameEnd() const { - if (!Name) return ""; - return getName().end(); - } /// getName() - Return a constant reference to the value's name. This is cheap /// and guaranteed to return the same reference as long as the value is not |