[clangd] Actually parse Index section of the YAML file.
authorAdam Czachorowski <adamcz@google.com>
Tue, 15 Sep 2020 18:13:00 +0000 (20:13 +0200)
committerAdam Czachorowski <adamcz@google.com>
Wed, 16 Sep 2020 11:11:02 +0000 (13:11 +0200)
commit7029e5d4ca20d20982da8efe89de27acd8d7d75b
tree4b005ca2eff0a6e4362a32437c6b1c03ad8bc4f0
parenta63b2a4614b6b776cffcc0ab033e288024aa73b9
[clangd] Actually parse Index section of the YAML file.

This fixes a bug in dbf486c0de92c76df77c1a1f815cf16533ecbb3a, which
introduced the Index section of the config, but did not register the
parse method, so it didn't work in a YAML file (but did in a test).

Differential Revision: https://reviews.llvm.org/D87710
clang-tools-extra/clangd/ConfigYAML.cpp
clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp