This is an archive of the discontinued LLVM Phabricator instance.

YAML: Fix output of sequences that contain flow sequences
ClosedPublic

Authored by arphaman on Apr 22 2015, 1:12 PM.

Details

Summary

This patch fixes a bug where the yaml Output class emitted a sequence of flow sequences in an incorrect manner:

Before:

seq:
    [ a, b ]
    [ a, b ]

Afer:

seq:
  - [ a, b ]
  - [ a, b ]

Test case is attached.

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 24253.Apr 22 2015, 1:12 PM
arphaman retitled this revision from to YAML: Fix output of sequences that contain flow sequences.
arphaman updated this object.
arphaman edited the test plan for this revision. (Show Details)
arphaman added a reviewer: kledzik.
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.