[clangd] Config: Fragments and parsing from YAML
authorSam McCall <sam.mccall@gmail.com>
Tue, 23 Jun 2020 15:21:56 +0000 (17:21 +0200)
committerSam McCall <sam.mccall@gmail.com>
Thu, 25 Jun 2020 20:55:45 +0000 (22:55 +0200)
commite9fb1506b83d001082dc535af12acf45050a527c
tree631ced685d767e6de07c89942c15a339117298b9
parentd79b57b8bbba8d9f7e91417fdccf70e74150fd4a
[clangd] Config: Fragments and parsing from YAML

Summary:
This is a piece from the design in https://tinyurl.com/clangd-config
https://reviews.llvm.org/D82335 is a draft with all the bits linked together.
It doesn't do anything yet, it's just a library + tests.

It deliberately implements a minimal set of actual configuration options.

Reviewers: kadircet, adamcz

Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82386
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/ConfigFragment.h [new file with mode: 0644]
clang-tools-extra/clangd/ConfigYAML.cpp [new file with mode: 0644]
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp [new file with mode: 0644]