summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-11-06 21:20:45 +0000
committerDaniel Jasper <djasper@google.com>2016-11-06 21:20:45 +0000
commit5183128797dd266a397277d7639b6878891f296f (patch)
treee732c96029143a1a89ad4ec2a444dc37403a3869 /bindings
parent671c4110408d226e2faa4552fa70b93db352622b (diff)
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
Diffstat (limited to 'bindings')
-rw-r--r--bindings/go/llvm/IRBindings.cpp6
-rw-r--r--bindings/go/llvm/IRBindings.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/bindings/go/llvm/IRBindings.cpp b/bindings/go/llvm/IRBindings.cpp
index 34ba33dd57e..20cc05043f2 100644
--- a/bindings/go/llvm/IRBindings.cpp
+++ b/bindings/go/llvm/IRBindings.cpp
@@ -21,12 +21,6 @@
using namespace llvm;
-uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn) {
- Function *Func = unwrap<Function>(Fn);
- const AttributeSet PAL = Func->getAttributes();
- return PAL.Raw(AttributeSet::FunctionIndex);
-}
-
LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef C) {
return wrap(ConstantAsMetadata::get(unwrap<Constant>(C)));
}
diff --git a/bindings/go/llvm/IRBindings.h b/bindings/go/llvm/IRBindings.h
index 6e713276b8f..48c080ff7b1 100644
--- a/bindings/go/llvm/IRBindings.h
+++ b/bindings/go/llvm/IRBindings.h
@@ -33,8 +33,6 @@ typedef struct LLVMOpaqueMetadata *LLVMMetadataRef;
// values, and the Go bindings expose all of the LLVM attributes, some of which
// have values >= 1<<32.
-uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn);
-
LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef Val);
LLVMMetadataRef LLVMMDString2(LLVMContextRef C, const char *Str, unsigned SLen);