This is an archive of the discontinued LLVM Phabricator instance.

YAML: Add support for literal block scalar I/O.
ClosedPublic

Authored by arphaman on May 8 2015, 11:25 AM.

Details

Summary

This patch builds on top of the patch that implements parsing of YAML block scalars (http://reviews.llvm.org/D9503).
This patch gives the users an ability to serialize scalars using the YAML literal block scalar notation by allowing them
to implement a specialization of the yaml::BlockScalarTraits class for their custom types.

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 25354.May 8 2015, 11:25 AM
arphaman retitled this revision from to YAML: Add support for literal block scalar I/O..
arphaman updated this object.
arphaman edited the test plan for this revision. (Show Details)
arphaman added reviewers: bogner, dexonsmith, bob.wilson.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.