diff options
author | Duncan Sands <baldrick@free.fr> | 2009-05-06 12:21:17 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-05-06 12:21:17 +0000 |
commit | 7014f4626b0f9fb2e46078867096bb11ff90fdf4 (patch) | |
tree | c144c4b0a0cf3bb4b3e7d55726690106df2adcf8 /include/llvm-c | |
parent | cad542c6e68d975a35847b2a85f233ad34a004f5 (diff) | |
download | external_llvm-7014f4626b0f9fb2e46078867096bb11ff90fdf4.zip external_llvm-7014f4626b0f9fb2e46078867096bb11ff90fdf4.tar.gz external_llvm-7014f4626b0f9fb2e46078867096bb11ff90fdf4.tar.bz2 |
OCaml parameter attribute bindings from PR2752.
Incomplete, but better than nothing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 3d5be53..d2d8845 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -504,6 +504,8 @@ unsigned LLVMGetFunctionCallConv(LLVMValueRef Fn); void LLVMSetFunctionCallConv(LLVMValueRef Fn, unsigned CC); const char *LLVMGetGC(LLVMValueRef Fn); void LLVMSetGC(LLVMValueRef Fn, const char *Name); +void LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA); +void LLVMRemoveFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA); /* Operations on parameters */ unsigned LLVMCountParams(LLVMValueRef Fn); |