[PATCH] D23213: Allow SmallVector to be used as a yaml sequence
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 11:00:21 PDT 2016
zturner created this revision.
zturner added reviewers: majnemer, arphaman, kledzik.
zturner added a subscriber: llvm-commits.
Currently YAML sequences require `std::vector`s. All of the methods that the YAML parser accesses though are present in `SmallVector`, so there's no reason we can't support `SmallVector` inherently. This patch does that.
https://reviews.llvm.org/D23213
Files:
include/llvm/Support/YAMLTraits.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23213.66979.patch
Type: text/x-patch
Size: 7562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160805/69eff606/attachment.bin>
More information about the llvm-commits
mailing list