From a2edd9607f402685a69a4dcb712437d0ebca4a8d Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Mon, 28 Apr 2008 21:48:04 +0000 Subject: [PATCH] Correct parameter attributes encoding for C bindings. Patch by Anders Johnsen! llvm-svn: 50375 --- include/llvm-c/Core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index d1251dc74fc..1c89f66dfc7 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -86,10 +86,10 @@ typedef enum { LLVMZExtParamAttr = 1<<0, LLVMSExtParamAttr = 1<<1, LLVMNoReturnParamAttr = 1<<2, - LLVMNoUnwindParamAttr = 1<<3, - LLVMInRegParamAttr = 1<<4, - LLVMNoAliasParamAttr = 1<<5, - LLVMStructRetParamAttr = 1<<6, + LLVMInRegParamAttr = 1<<3, + LLVMStructRetParamAttr = 1<<4, + LLVMNoUnwindParamAttr = 1<<5, + LLVMNoAliasParamAttr = 1<<6, LLVMByValParamAttr = 1<<7, LLVMNestParamAttr = 1<<8, LLVMReadNoneParamAttr = 1<<9,