aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/LLVMContextImpl.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-23 02:00:51 +0000
committerDevang Patel <dpatel@apple.com>2009-07-23 02:00:51 +0000
commit2f9c3b002d3cb465fefc5f4b2535ca994c5e9283 (patch)
tree05f0d304147132f0a0c1ac6da9be0895790ffa32 /lib/VMCore/LLVMContextImpl.h
parent3091719b90aca9f7336d4ca26ef3a0d48c4a06d2 (diff)
downloadexternal_llvm-2f9c3b002d3cb465fefc5f4b2535ca994c5e9283.zip
external_llvm-2f9c3b002d3cb465fefc5f4b2535ca994c5e9283.tar.gz
external_llvm-2f9c3b002d3cb465fefc5f4b2535ca994c5e9283.tar.bz2
MDString
- Rename member function size(). New name is length(). - Store string beginning and length. Earlier it used to store string end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.h')
-rw-r--r--lib/VMCore/LLVMContextImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h
index 03f0e7b..392e500 100644
--- a/lib/VMCore/LLVMContextImpl.h
+++ b/lib/VMCore/LLVMContextImpl.h
@@ -133,7 +133,7 @@ public:
ConstantFP *getConstantFP(const APFloat &V);
- MDString *getMDString(const char *StrBegin, const char *StrEnd);
+ MDString *getMDString(const char *StrBegin, unsigned StrLength);
MDNode *getMDNode(Value*const* Vals, unsigned NumVals);