[PATCH] D47179: [LLVM-C] Add Bindings For Named Metadata
Robert Widmann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 22:36:34 PDT 2018
CodaFi created this revision.
CodaFi added reviewers: whitequark, deadalnix, aprantl.
Herald added a subscriber: llvm-commits.
Resolve the FIXME in NamedMDNode by adding Metadata as a superclass. This enables unwrap to cast NamedMDNodes which unblocks a direct NamedMDNode API.
Use this to implement iterators and accessors for NamedMDNodes as LLVMMetadataRefs in the C API.
Repository:
rL LLVM
https://reviews.llvm.org/D47179
Files:
include/llvm-c/Core.h
include/llvm/IR/Metadata.def
include/llvm/IR/Metadata.h
lib/IR/Core.cpp
lib/IR/Metadata.cpp
test/Bindings/llvm-c/echo.ll
tools/llvm-c-test/echo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47179.147947.patch
Type: text/x-patch
Size: 10478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/d49f21ea/attachment.bin>
More information about the llvm-commits
mailing list