commit 653cb7912bbe4daabc8d6dd6dca71b2cf9a10365 (HEAD -> master)
Author: Hiral Oza <hiral.oza@netapp.com>
Date: Fri Oct 30 05:07:19 2020 -0400
clang-tidy: adding "--config-file=<file-path>" to specify custom config file. Let clang-tidy to read config from specified file. This option internally works exactly the same way as --config option after reading specified config file. This option works as helper for --config in following few cases: - when there is shell limitation to read file content to the command line, - when there is limitation to command line length, - setting right build dependencies, and - others --config-file and --config options are made mutually exclusive. Example usage: $ clang-tidy --config-file=/some/path/myTidyConfigFile --dump-config -- ...this will read config from /some/path/myTidyConfigFile and avoid searching '.clang-tidy' in parent-dirs. May speed-up tidy runtime since now it will just look-up <file-path> instead of searching ".clang-tidy" in parent-dirs. Reviewed By: DmitryPolukhin, njames93 Differential Revision: https://reviews.llvm.org/D89936
I would call it something like --config-file