[PATCH] D18749: Add LLVMGetAttrKindIDInContext in the C API in order to facilitate migration away from LLVMAttribute
whitequark via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 15:51:54 PDT 2016
whitequark added a comment.
@rafael The C enum doesn't help much since frontends using libffi to bind to the C API have to duplicate the enum in the binding. Whereas, the function will work for at least removed attributes (it can return 0 and signal an error to the frontend).
http://reviews.llvm.org/D18749
More information about the llvm-commits
mailing list