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

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu May 14 14:57:30 PDT 2015


> On 2015-May-08, at 11:25, Alex Lorenz <arphaman at gmail.com> wrote:
> 
> 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.

LGTM.

> 
> 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/
> <D9613.25354.patch>





More information about the llvm-commits mailing list