llvm.org GIT mirror llvm / 5183128
Delete one more function that needs to go after r286062. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286086 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Jasper 3 years ago
2 changed file(s) with 0 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
1919 #include "llvm/IR/Module.h"
2020
2121 using namespace llvm;
22
23 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn) {
24 Function *Func = unwrap(Fn);
25 const AttributeSet PAL = Func->getAttributes();
26 return PAL.Raw(AttributeSet::FunctionIndex);
27 }
2822
2923 LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef C) {
3024 return wrap(ConstantAsMetadata::get(unwrap(C)));
3131 // API. We cannot use the existing functions because they take 32-bit attribute
3232 // values, and the Go bindings expose all of the LLVM attributes, some of which
3333 // have values >= 1<<32.
34
35 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn);
3634
3735 LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef Val);
3836