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 | e149e9960ba0726f4b084763f7ef95afa12d9a88 (patch) | |
tree | c144c4b0a0cf3bb4b3e7d55726690106df2adcf8 /include/llvm-c | |
parent | a9cad0e7e09e6d34de2fccb4f1294b7f0b8f3b68 (diff) | |
download | llvm-e149e9960ba0726f4b084763f7ef95afa12d9a88.tar.gz llvm-e149e9960ba0726f4b084763f7ef95afa12d9a88.tar.bz2 llvm-e149e9960ba0726f4b084763f7ef95afa12d9a88.tar.xz |
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 3d5be53260..d2d88454d7 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); |