[PATCH] Fix LLVMSetMetadata for MDNodes that contain a single value
bsteinbr at gmail.com
Tue Jan 27 15:00:09 PST 2015
Thanks for the feedback!
Added a testcase and replaced the ternary operators with if statements.
I did not use an early return for the !Val case though, because that would,
AFAICT, stop the user from removing existing metadata.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4155 bytes
Desc: not available
More information about the llvm-commits