diff options
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 |