[clangd] Add clang-tidy options to config
authorNathan James <n.james93@hotmail.co.uk>
Sun, 22 Nov 2020 10:04:00 +0000 (10:04 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Sun, 22 Nov 2020 10:04:01 +0000 (10:04 +0000)
commit20b69af7c9c8bd9a621b05203f944bf94a3a4c26
tree2017fbd8599279b29b26c33fe6a28c41d2fd2903
parent84b8222705c32c15818a9093b8217027f129f218
[clangd] Add clang-tidy options to config

First step of implementing clang-tidy configuration into clangd config.
This is just adding support for reading and verifying the clang tidy options from the config fragments.
No support is added for actually using the options within clang-tidy yet.

That will be added in a follow up as its a little more involved.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D90531
clang-tools-extra/clangd/Config.h
clang-tools-extra/clangd/ConfigCompile.cpp
clang-tools-extra/clangd/ConfigFragment.h
clang-tools-extra/clangd/ConfigYAML.cpp
clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp