[clang-format] Add a test showing the current config file list parsing
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Fri, 4 Sep 2020 15:11:48 +0000 (16:11 +0100)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Fri, 4 Sep 2020 15:57:46 +0000 (16:57 +0100)
commite0ff5a8410ea58ba3d2e75791789a28ce976a7e7
treeda3c373e010b50f95c2e67a01c99900e180ce8e8
parent8c810acc94ed462238242c04c75ab33fc96da6e8
[clang-format] Add a test showing the current config file list parsing

Currently clang-format starts overriding the default values at index 0
(keeping the existing values) instead of appending or replacing all values.
This patch simply checks the current (IMO surprising) behaviour and does
not attempt to change it.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D86941
clang/test/Format/dump-config-list-override.cpp [new file with mode: 0644]