[clang-tidy] OptionsView::store specialized on bool
authorNathan James <n.james93@hotmail.co.uk>
Tue, 14 Jul 2020 21:19:36 +0000 (22:19 +0100)
committerNathan James <n.james93@hotmail.co.uk>
Tue, 14 Jul 2020 21:19:37 +0000 (22:19 +0100)
commitfcf0f75a59fb565e57d71c29f3e820828301c7e2
treef5cb8326de47711791685c60ad3e443bc521b7ce
parentd1ca9960bc1930bed49dd19b4ff442a9de13a0de
[clang-tidy] OptionsView::store specialized on bool

Following on fcf7cc268fe and 672207c319a which granted checks the ability to read boolean configuration arguments as `true` or `false`.
This enables storing the options back to the configuration file using `true` and `false`.
This is in line with how clang-format dumps boolean options in its style config.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D83053
clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
clang-tools-extra/clang-tidy/ClangTidyCheck.h
clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp