[PATCH] D52693: [LLVM-C] Add an accessor for the kind of a Metadata Node
whitequark via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 29 08:42:03 PDT 2018
whitequark requested changes to this revision.
whitequark added inline comments.
This revision now requires changes to proceed.
================
Comment at: include/llvm-c/DebugInfo.h:1198
+ */
+LLVMMetadataKind LLVMGetMetadataKind(LLVMMetadataRef Metadata);
+
----------------
C enums don't have a defined ABI and should never be used in function signatures, because this makes FFI impossible to do correctly without going through something libclang.
Repository:
rL LLVM
https://reviews.llvm.org/D52693
More information about the llvm-commits
mailing list