[clang-tidy] Ignore all spaces in the list of checks
authorDmitry Polukhin <dmitry.polukhin@gmail.com>
Tue, 23 Mar 2021 12:26:21 +0000 (05:26 -0700)
committerDmitry Polukhin <dmitry.polukhin@gmail.com>
Wed, 24 Mar 2021 13:43:13 +0000 (06:43 -0700)
commit338d16275571df4d841609d7e12bcb310b3a95e6
treec8f3a7a8c99ec45910d3bdd512af75e01cd3043d
parent0620e6f4b76a9725dbd82454d58c5a68a7e47074
[clang-tidy] Ignore all spaces in the list of checks

This diff patch fixes issue with new line character after check name and before comma. Also ignores all other types of spaces like TAB.

Test Plan: ninja check-clang-tools

Differential Revision: https://reviews.llvm.org/D99180
clang-tools-extra/clang-tidy/GlobList.cpp
clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-file/config-file-spaces [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/infrastructure/config-file.cpp