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

Andrew Tulloch andrew at tullo.ch
Wed Nov 13 09:06:16 PST 2013


  @alexfh, thanks for the comments (and the pointer to the other bug report). Will update the diff with your suggested changes.


================
Comment at: unittests/Support/YAMLIOTest.cpp:76
@@ +75,3 @@
+    EXPECT_EQ(doc.foo, 3);
+    EXPECT_EQ(doc.bar,5);
+  }
----------------
Alexander Kornienko wrote:
> nit: add a space after the comma.
Sure, good catch.


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

BRANCH
  fix-assert-in-yaml-parsing

ARCANIST PROJECT
  llvm



More information about the llvm-commits mailing list