summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-05-06 12:21:17 +0000
committerDuncan Sands <baldrick@free.fr>2009-05-06 12:21:17 +0000
commit7374a0118da11c07df617aeaa26b0f70a69603f2 (patch)
tree966c3df061f9ce4f571e1d07bca87bce4b22f73c /llvm/include/llvm-c
parentea8c48d5a1c14a221db5d4033de1b43e716d3490 (diff)
downloadbcm5719-llvm-7374a0118da11c07df617aeaa26b0f70a69603f2.tar.gz
bcm5719-llvm-7374a0118da11c07df617aeaa26b0f70a69603f2.zip
OCaml parameter attribute bindings from PR2752.
Incomplete, but better than nothing. llvm-svn: 71081
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 3d5be532609..d2d88454d71 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud