aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 08:34:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 08:34:35 +0000
commitf0443c1eb44d737d9bd78962932fc80f74c6113c (patch)
treee6509e65f5b9f1349ac35796122422273fbf2d08 /include
parent92fbbc75889918036035581ef0aa5d6510b2f8d9 (diff)
downloadexternal_llvm-f0443c1eb44d737d9bd78962932fc80f74c6113c.zip
external_llvm-f0443c1eb44d737d9bd78962932fc80f74c6113c.tar.gz
external_llvm-f0443c1eb44d737d9bd78962932fc80f74c6113c.tar.bz2
Remove Value::getNameLen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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.