[PATCH] D26419: Bug 30934 - YAML error not reported by ``yaml::Input::error()``

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 02:54:32 PST 2016


serge-sans-paille updated this revision to Diff 79382.
serge-sans-paille marked an inline comment as done.
serge-sans-paille added a comment.

This patch seemsmore robust: when a subcomponent reports an error, it may set the parent error_code.


Repository:
  rL LLVM

https://reviews.llvm.org/D26419

Files:
  include/llvm/Support/YAMLParser.h
  lib/Support/YAMLParser.cpp
  lib/Support/YAMLTraits.cpp
  unittests/Support/YAMLIOTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26419.79382.patch
Type: text/x-patch
Size: 4523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161128/ea48b7e7/attachment.bin>


More information about the llvm-commits mailing list