Tighten up the yamilizer so it stops eliding empty sequences if the embedded empty...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 15 Aug 2013 23:17:53 +0000 (23:17 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 15 Aug 2013 23:17:53 +0000 (23:17 +0000)
commitd5f33aa33fbf865e15a3dced11b847e88f6a8239
tree65d3258017f450661a509f07c4553aa4609aff93
parenta630cb032cc09aaec92fa4ce26891abfa7fa1348
Tighten up the yamilizer so it stops eliding empty sequences if the embedded empty sequence is the first key/value in a map which is itself in a sequence.

Patch with help from Nick Kledzik.

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