@@ -395,9 +395,6 @@ pub type RustArchiveMemberRef = *mut RustArchiveMember_opaque;
395395#[ allow( missing_copy_implementations) ]  
396396pub  enum  OperandBundleDef_opaque  { } 
397397pub  type  OperandBundleDefRef  = * mut  OperandBundleDef_opaque ; 
398- #[ allow( missing_copy_implementations) ]  
399- pub  enum  Attribute_opaque  { } 
400- pub  type  AttributeRef  = * mut  Attribute_opaque ; 
401398
402399pub  type  DiagnosticHandler  = unsafe  extern  "C"  fn ( DiagnosticInfoRef ,  * mut  c_void ) ; 
403400pub  type  InlineAsmDiagHandler  = unsafe  extern  "C"  fn ( SMDiagnosticRef ,  * const  c_void ,  c_uint ) ; 
@@ -770,8 +767,6 @@ extern "C" {
770767                        Name :  * const  c_char ) 
771768                        -> ValueRef ; 
772769
773-     pub  fn  LLVMRustCreateAttribute ( C :  ContextRef ,  kind :  Attribute ,  val :  u64 )  -> AttributeRef ; 
774- 
775770    // Operations on functions 
776771    pub  fn  LLVMAddFunction ( M :  ModuleRef ,  Name :  * const  c_char ,  FunctionTy :  TypeRef )  -> ValueRef ; 
777772    pub  fn  LLVMGetNamedFunction ( M :  ModuleRef ,  Name :  * const  c_char )  -> ValueRef ; 
@@ -790,12 +785,12 @@ extern "C" {
790785    pub  fn  LLVMGetGC ( Fn :  ValueRef )  -> * const  c_char ; 
791786    pub  fn  LLVMSetGC ( Fn :  ValueRef ,  Name :  * const  c_char ) ; 
792787    pub  fn  LLVMRustAddDereferenceableAttr ( Fn :  ValueRef ,  index :  c_uint ,  bytes :  u64 ) ; 
793-     pub  fn  LLVMRustAddFunctionAttribute ( Fn :  ValueRef ,  index :  c_uint ,  attr :  AttributeRef ) ; 
788+     pub  fn  LLVMRustAddFunctionAttribute ( Fn :  ValueRef ,  index :  c_uint ,  attr :  Attribute ) ; 
794789    pub  fn  LLVMRustAddFunctionAttrStringValue ( Fn :  ValueRef , 
795790                                              index :  c_uint , 
796791                                              Name :  * const  c_char , 
797792                                              Value :  * const  c_char ) ; 
798-     pub  fn  LLVMRustRemoveFunctionAttributes ( Fn :  ValueRef ,  index :  c_uint ,  attr :  AttributeRef ) ; 
793+     pub  fn  LLVMRustRemoveFunctionAttributes ( Fn :  ValueRef ,  index :  c_uint ,  attr :  Attribute ) ; 
799794
800795    // Operations on parameters 
801796    pub  fn  LLVMCountParams ( Fn :  ValueRef )  -> c_uint ; 
@@ -806,8 +801,6 @@ extern "C" {
806801    pub  fn  LLVMGetLastParam ( Fn :  ValueRef )  -> ValueRef ; 
807802    pub  fn  LLVMGetNextParam ( Arg :  ValueRef )  -> ValueRef ; 
808803    pub  fn  LLVMGetPreviousParam ( Arg :  ValueRef )  -> ValueRef ; 
809-     pub  fn  LLVMAddAttribute ( Arg :  ValueRef ,  attr :  AttributeRef ) ; 
810-     pub  fn  LLVMRemoveAttribute ( Arg :  ValueRef ,  attr :  AttributeRef ) ; 
811804    pub  fn  LLVMSetParamAlignment ( Arg :  ValueRef ,  align :  c_uint ) ; 
812805
813806    // Operations on basic blocks 
@@ -851,7 +844,7 @@ extern "C" {
851844    pub  fn  LLVMAddInstrAttribute ( Instr :  ValueRef ,  index :  c_uint ,  IA :  c_uint ) ; 
852845    pub  fn  LLVMRemoveInstrAttribute ( Instr :  ValueRef ,  index :  c_uint ,  IA :  c_uint ) ; 
853846    pub  fn  LLVMSetInstrParamAlignment ( Instr :  ValueRef ,  index :  c_uint ,  align :  c_uint ) ; 
854-     pub  fn  LLVMRustAddCallSiteAttribute ( Instr :  ValueRef ,  index :  c_uint ,  attr :  AttributeRef ) ; 
847+     pub  fn  LLVMRustAddCallSiteAttribute ( Instr :  ValueRef ,  index :  c_uint ,  attr :  Attribute ) ; 
855848    pub  fn  LLVMRustAddDereferenceableCallSiteAttr ( Instr :  ValueRef ,  index :  c_uint ,  bytes :  u64 ) ; 
856849
857850    // Operations on call instructions (only) 
0 commit comments