[PATCH] D18749: Add LLVMGetAttrKindIDInContext in the C API in order to facilitate migration away from LLVMAttribute
Jakob Bornecrantz via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 22:03:35 PDT 2016
Wallbraker added a comment.
Whelp that was a bit fast.
There needs to be documentation on that function. Is there a list of attributes somewhere? What does it return on failure? How long are the values returned valid? Per context, per thread, per process, per release?
The advantage of enum is that its self documenting.
Repository:
rL LLVM
http://reviews.llvm.org/D18749
More information about the llvm-commits
mailing list