[PATCH] D18749: Add LLVMGetAttrKindIDInContext in the C API in order to facilitate migration away from LLVMAttribute
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 13:50:55 PDT 2016
On 13 April 2016 at 16:48, whitequark <whitequark at whitequark.org> wrote:
> whitequark added a comment.
>
> @rafael I don't understand. How are you proposing frontends using LLVM-C emit functions with attributes?
They can use a string, but we must document that it is not stable.
If they want stability (deprecates in one release, remove in the next)
I thin you have to define a C only enum that is mapped to llvm.
Cheers,
Rafael
More information about the llvm-commits
mailing list