aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Value.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 72669cf..b840531 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -124,10 +124,6 @@ public:
return getName().end();
}
- /// getNameLen - Return the length of the string, correctly handling nul
- /// characters embedded into them.
- unsigned getNameLen() const { return getName().size(); }
-
/// 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
/// modified.