aboutsummaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-04-25 03:21:19 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-04-25 03:21:19 +0000
commit877ee973e2d6ade85e38babbd303d96347c7dc8e (patch)
treed6484e660d97da3a093b6b097543c24ea20ee1d5 /include/llvm-c
parent2566388bc43b4206d88fbb2765f8722064bf508e (diff)
PR2245: Misleading parameter name in llvm-c/Core.h:LLVMConstArray
Applying fix by Frits van Bommel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 4ecf81cac5..b536bf5b2a 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -306,7 +306,7 @@ LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, const char *Text);
/* Operations on composite constants */
LLVMValueRef LLVMConstString(const char *Str, unsigned Length,
int DontNullTerminate);
-LLVMValueRef LLVMConstArray(LLVMTypeRef ArrayTy,
+LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
LLVMValueRef *ConstantVals, unsigned Length);
LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count,
int packed);