YAML: Add an optional 'flow' field to the mapping trait to allow flow mapping output.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 4 May 2015 20:11:40 +0000 (20:11 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 4 May 2015 20:11:40 +0000 (20:11 +0000)
commitc41c3a4c3b999a05e6d04e41d3d0153bc2aca056
tree393fb11ef5603dd3eaa64d5c9e740dac0ba230fe
parent9cffebf3f8eabd4247c9fd465c188884bcd3911a
YAML: Add an optional 'flow' field to the mapping trait to allow flow mapping output.

This patch adds an optional 'flow' field to the MappingTrait
class so that yaml IO will be able to output flow mappings.

Reviewers: Justin Bogner

Differential Revision: http://reviews.llvm.org/D9450

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236456 91177308-0d34-0410-b5e6-96231b3b80d8
docs/YamlIO.rst
include/llvm/Support/YAMLTraits.h
lib/Support/YAMLTraits.cpp
unittests/Support/YAMLIOTest.cpp