[PATCH] YAML: Implement block scalar parsing

Alex Lorenz arphaman at gmail.com
Tue May 5 12:57:33 PDT 2015


Hi bogner, bob.wilson, dexonsmith,

This patch implements the parsing of YAML block scalars. Some code existed there before, but it couldn't parse block scalars.
This patch is based on the patch 'http://reviews.llvm.org/D9448' that enables the YAMLParser tests.
I've added a new yaml node type to represent the block scalar values.
I've deleted the files 'spec-09-27.test' and 'spec-09-28.test' as they are identical to the file 'spec-09-26.test'.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9503

Files:
  include/llvm/Support/YAMLParser.h
  lib/Support/YAMLParser.cpp
  test/YAMLParser/spec-09-14.test
  test/YAMLParser/spec-09-18.test
  test/YAMLParser/spec-09-19.test
  test/YAMLParser/spec-09-20.test
  test/YAMLParser/spec-09-21.test
  test/YAMLParser/spec-09-22.test
  test/YAMLParser/spec-09-24.test
  test/YAMLParser/spec-09-25.test
  test/YAMLParser/spec-09-26.test
  test/YAMLParser/spec-09-27.test
  test/YAMLParser/spec-09-28.test
  test/YAMLParser/spec-09-29.test
  test/YAMLParser/spec-09-30.test
  test/YAMLParser/spec-09-31.test
  test/YAMLParser/spec-09-32.test
  test/YAMLParser/spec-09-33.test
  unittests/Support/YAMLParserTest.cpp
  utils/yaml-bench/YAMLBench.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9503.24963.patch
Type: text/x-patch
Size: 21500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150505/d456f473/attachment.bin>


More information about the llvm-commits mailing list