[PATCH] [YAML] Recover gracefully when deserializing invalid YAML input.

Andrew Tulloch andrew at tullo.ch
Fri Nov 15 05:51:55 PST 2013


  Updated with reviewer comments, and added unit tests covering the empty string for the sequence/map with {required, optional} keys cases.

Hi gribozavr, kledzik, rsmith, bkramer, chandlerc,

http://llvm-reviews.chandlerc.com/D1236

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1236?vs=3142&id=5572#toc

Files:
  include/llvm/Support/YAMLTraits.h
  lib/Support/YAMLTraits.cpp
  unittests/Support/YAMLIOTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1236.4.patch
Type: text/x-patch
Size: 5846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131115/90acef92/attachment.bin>


More information about the llvm-commits mailing list