Remove Value::getName{Start,End}, the last of the old Name APIs.
[oota-llvm.git] / include / llvm / Value.h
index b840531ce88b8164587f3ec7b3cfca1ea99af9eb..7965ca572235d7d57434a00d518e1cec60476dfb 100644 (file)
@@ -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