[PATCH] D19181: Map Attribute in the C API.

whitequark via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 11 18:13:17 PDT 2016


whitequark added a comment.

As per IRC discussion, some renaming


================
Comment at: include/llvm-c/Core.h:505
@@ -490,1 +504,3 @@
 unsigned LLVMGetAttributeKindForName(const char *Name, size_t SLen);
+unsigned LLVMGetEndAttrKind();
+
----------------
`LLVMGetLastAttributeKind`

================
Comment at: include/llvm-c/Core.h:522
@@ +521,3 @@
+ */
+LLVMAttributeRef LLVMCreateTargetDependentAttribute(LLVMContextRef C,
+                                                    const char *N,
----------------
`LLVMCreateStringAttribute`

================
Comment at: include/llvm-c/Core.h:536
@@ +535,3 @@
+ */
+LLVMBool LLVMIsEnumAttribute(LLVMAttributeRef A);
+LLVMBool LLVMIsIntAttribute(LLVMAttributeRef A);
----------------
`LLVMIsFlagAttribute`?


http://reviews.llvm.org/D19181





More information about the llvm-commits mailing list