[PATCH] D61608: YAML parser robustness improvements

Thomas Finch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 12:41:11 PDT 2019


thomasfinch updated this revision to Diff 219973.
thomasfinch added a comment.
Herald added a subscriber: kristina.

Update diff based on feedback.

- Update error message in Scanner::consume
- Update error message in ScalarNode::unescapeDoubleQuoted
- Remove setError call when failing to find a SimpleKey in the token queue


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61608/new/

https://reviews.llvm.org/D61608

Files:
  lib/Support/YAMLParser.cpp
  lib/Support/YAMLTraits.cpp
  unittests/Support/YAMLIOTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61608.219973.patch
Type: text/x-patch
Size: 6832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190912/e5e096d3/attachment.bin>


More information about the llvm-commits mailing list