[PATCH] D23039: Kill deprecated attribute API

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 5 13:31:34 PDT 2016


deadalnix added inline comments.


================
Comment at: docs/ReleaseNotes.rst:39
+  LLVMGetAttribute, LLVMAddInstrAttribute and
+  LLVMRemoveInstrAttribute have been removed.
+
----------------
mehdi_amini wrote:
> Were these marked as deprecated in 3.9?
Yes.

  The C API enum LLVMAttribute and associated API is deprecated in favor of the new LLVMAttributeRef API. The deprecated functions are LLVMAddFunctionAttr, LLVMAddTargetDependentFunctionAttr, LLVMRemoveFunctionAttr, LLVMGetFunctionAttr, LLVMAddAttribute, LLVMRemoveAttribute, LLVMGetAttribute, LLVMAddInstrAttribute, LLVMRemoveInstrAttribute and LLVMSetInstrParamAlignment.


================
Comment at: docs/ReleaseNotes.rst:41
+
+* The C API enum LLVMAttribute has been deleted.
 
----------------
mehdi_amini wrote:
> Same question?
Same answer :)


https://reviews.llvm.org/D23039





More information about the llvm-commits mailing list