[PATCH] D49010: YAML output for index-while-building

2018-07-24 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. @ilya-biryukov I would name this revision "for test purpose". It works at some extent with the current clangd version and can be used by someone else. But since we had a discussion about YAML being a temporary solution I never planned to commit this revision. So yes, I t

[PATCH] D49010: YAML output for index-while-building

2018-07-23 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added a comment. JSON is a subset of YAML, do we really need both outputs? I've noticed the schema for the output is actually different between YAML and JSON, wouldn't that be confusing? > Should be compatible with the current index format accepted by clangd Do we really want th

[PATCH] D49010: YAML output for index-while-building

2018-07-13 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan updated this revision to Diff 155331. https://reviews.llvm.org/D49010 Files: include/clang/Index/IndexRecordReader.h include/clang/Index/IndexRecordWriter.h include/indexstore/IndexStoreCXX.h include/indexstore/indexstore.h lib/Index/ClangIndexRecordWriter.cpp lib/Index/IndexRec

[PATCH] D49010: YAML output for index-while-building

2018-07-06 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan created this revision. yvvan added a reviewer: nathawes. Herald added subscribers: ioeric, ilya-biryukov. Should be compatible with the current index format accepted by clangd https://reviews.llvm.org/D49010 Files: include/clang/Index/IndexRecordReader.h include/clang/Index/IndexRecor