aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r--include/llvm/Value.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 1f5bd7f..584b80e 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -118,10 +118,6 @@ public:
/// getNameEnd - Return a pointer to the end of the name.
const char *getNameEnd() const { return getNameStart() + getNameLen(); }
- /// isName - Return true if this value has the name specified by the provided
- /// nul terminated string.
- bool isName(const char *N) const;
-
/// getNameLen - Return the length of the string, correctly handling nul
/// characters embedded into them.
unsigned getNameLen() const;
@@ -131,7 +127,6 @@ public:
/// construct a string, they are very expensive and should be avoided.
StringRef getName() const { return StringRef(getNameStart(), getNameLen()); }
std::string getNameStr() const;
- StringRef getNameRef() const;
void setName(const Twine &Name);
void setName(const char *Name, unsigned NameLen);