[PATCH] YAML: Add support for literal block scalar I/O.

Alex Lorenz arphaman at gmail.com
Fri May 8 11:25:27 PDT 2015


Hi bogner, dexonsmith, bob.wilson,

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.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9613

Files:
  docs/YamlIO.rst
  include/llvm/Support/YAMLTraits.h
  lib/Support/YAMLTraits.cpp
  unittests/Support/YAMLIOTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9613.25354.patch
Type: text/x-patch
Size: 13717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150508/b438e8c6/attachment.bin>


More information about the llvm-commits mailing list