[PATCH] D83436: [clangd] Fix error handling in config.yaml parsing.

2020-07-09 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGf36518637d7d: [clangd] Fix error handling in config.yaml parsing. (authored by sammccall). Changed prior to commit: https://reviews.llvm.org/D83436?vs=276574&id=276660#toc Repository: rG LLVM Github

[PATCH] D83436: [clangd] Fix error handling in config.yaml parsing.

2020-07-08 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added a comment. This revision is now accepted and ready to land. thanks. Comment at: clang-tools-extra/clangd/ConfigYAML.cpp:36 // meaningfully recover (e.g. YAML syntax error broke the stream). // The private parse() helpers follow

[PATCH] D83436: [clangd] Fix error handling in config.yaml parsing.

2020-07-08 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: hokein. Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov. Herald added a project: clang. A few things were broken: - use of Document::parseBlockNode() is incorrect and prevents movin