[PATCH] D19081: Add LLVMGetAttrKindIDInContext in the C API in order to facilitate migration away from LLVMAttribute
Amaury SECHET via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 15 02:19:54 PDT 2016
deadalnix added a comment.
@jyknight let's keep the target dependent attributes out of this. They have a different API in C as in C++ so it is a separate problem.
For attribute with values, how many of them exists ? I was under the impression that going the align road with them was fine (ie having special function for these).
The plan with LLVMGetAttribute is to deprecate it in favor of LLVMHasAttribute (for function, args/params and return values). This part is actually quite straightforward.
http://reviews.llvm.org/D19081
More information about the llvm-commits
mailing list