[llvm] r286086 - Delete one more function that needs to go after r286062.

Daniel Jasper via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 6 13:20:46 PST 2016


Author: djasper
Date: Sun Nov  6 15:20:45 2016
New Revision: 286086

URL: http://llvm.org/viewvc/llvm-project?rev=286086&view=rev
Log:
Delete one more function that needs to go after r286062.

Modified:
    llvm/trunk/bindings/go/llvm/IRBindings.cpp
    llvm/trunk/bindings/go/llvm/IRBindings.h

Modified: llvm/trunk/bindings/go/llvm/IRBindings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/IRBindings.cpp?rev=286086&r1=286085&r2=286086&view=diff
==============================================================================
--- llvm/trunk/bindings/go/llvm/IRBindings.cpp (original)
+++ llvm/trunk/bindings/go/llvm/IRBindings.cpp Sun Nov  6 15:20:45 2016
@@ -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)));
 }

Modified: llvm/trunk/bindings/go/llvm/IRBindings.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/IRBindings.h?rev=286086&r1=286085&r2=286086&view=diff
==============================================================================
--- llvm/trunk/bindings/go/llvm/IRBindings.h (original)
+++ llvm/trunk/bindings/go/llvm/IRBindings.h Sun Nov  6 15:20:45 2016
@@ -33,8 +33,6 @@ typedef struct LLVMOpaqueMetadata *LLVMM
 // 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);




More information about the llvm-commits mailing list