[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:14:39 PDT 2025
nikic wrote:
Actually, I'm just wrong here, sorry. Looking closer, there actually *is* a mapping between the C enum and C++ enum: https://github.com/llvm/llvm-project/blob/387f3e8f986d53067a68aa0d7b058a0ce81ec941/llvm/lib/IR/DebugInfo.cpp#L1857-L1866 I didn't find it when searching for the constants because it's macro based. So actually everything is good here, and it's okay to add entries to Metadata.def in any order. Sorry again for the confusion!
https://github.com/llvm/llvm-project/pull/132268
More information about the llvm-commits
mailing list