OSDN Git Service

Capitalize align argument in the C API as per convention. NFC
authorAmaury Sechet <deadalnix@gmail.com>
Sun, 1 May 2016 01:42:34 +0000 (01:42 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Sun, 1 May 2016 01:42:34 +0000 (01:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268175 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/Core.h

index 399e12d..d443d89 100644 (file)
@@ -2082,7 +2082,7 @@ LLVMAttribute LLVMGetAttribute(LLVMValueRef Arg);
  * @see llvm::Argument::addAttr()
  * @see llvm::AttrBuilder::addAlignmentAttr()
  */
-void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned align);
+void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned Align);
 
 /**
  * @}
@@ -2529,7 +2529,7 @@ void LLVMAddInstrAttribute(LLVMValueRef Instr, unsigned index, LLVMAttribute);
 void LLVMRemoveInstrAttribute(LLVMValueRef Instr, unsigned index,
                               LLVMAttribute);
 void LLVMSetInstrParamAlignment(LLVMValueRef Instr, unsigned index,
-                                unsigned align);
+                                unsigned Align);
 
 /**
  * Obtain the pointer to the function invoked by this instruction.