[llvm] [LLVM-C][OCaml] Update OCaml bindings to match LLVMMetadataKind in C API (PR #132268)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 03:16:41 PDT 2025


================
@@ -196,6 +195,7 @@ enum {
   LLVMDIGenericSubrangeMetadataKind,
   LLVMDIArgListMetadataKind,
   LLVMDIAssignIDMetadataKind,
+  LLVMDISubrangeTypeMetadataKind,
----------------
nikic wrote:

Maybe add a comment above this enum that new entries should always be appended instead of matching the order in Metadata.def?

https://github.com/llvm/llvm-project/pull/132268


More information about the llvm-commits mailing list