[llvm-commits] [llvm] r50250 - /llvm/trunk/include/llvm-c/Core.h

Gordon Henriksen gordonhenriksen at mac.com
Thu Apr 24 20:21:20 PDT 2008


Author: gordon
Date: Thu Apr 24 22:21:19 2008
New Revision: 50250

URL: http://llvm.org/viewvc/llvm-project?rev=50250&view=rev
Log:
PR2245: Misleading parameter name in llvm-c/Core.h:LLVMConstArray

Applying fix by Frits van Bommel.

Modified:
    llvm/trunk/include/llvm-c/Core.h

Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=50250&r1=50249&r2=50250&view=diff

==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Thu Apr 24 22:21:19 2008
@@ -306,7 +306,7 @@
 /* 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);





More information about the llvm-commits mailing list