<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/84508>84508</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-tidy] Add support for multiple --config and --config-file arguments.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
enhancement,
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
PiotrZSL
</td>
</tr>
</table>
<pre>
As a user I want to specify multiple config files / multiple configurations.
Use case:
- I got one file with configuration that is common (mandatory) for all projects, and i want to pass this file first with --config-file or content of it via --config.
- I got separate configurations for every projects that I want to apply on top of original
example: clang-tidy --config-file .clang-tidy-main --config-file .clang-tidy-project-a
config from project should be applied on top of main config regardless if InheritParentConfig is set, if InheritParentConfig is set then parent config should also be applied.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kz2PozAQhn-NaUYg4kASCoq9jSKtdMVKp2uuG2AAn4yNPMPu5d-fgHxusQ1IHvt9n_lCZtM5olLlP1R-jHCS3ofy3XgJf379jCrfnMsXBoSJKcAbfKITEA88Um3aMwyTFTNagtq71nTQGksMSp--RqaAYrzjRKVHlb6s399MUCOT2l4OYniDzgt4R4sUfBrpnxVAehQwDLUfBu9A6cOArkHx4ax0Aa0PgNbCGPxfqoWVfgV0DZgb-4jMIL3h1aI1gWU1iuPVKl4CPszOQk7At2AEPgzeriTPwEwjBpSv2S409EHhfONZ-e-VxHG0Z5jz8uPs44PpjEP7WCf6h8No5zJBbdF1sZjm_IU2uUfiAY37JnxBiXFVv7Yu-OFKCdz7yTZQ0cJnqHkgXNQvjwJ1GBpLzGBaeHM9BSPvGMjJ63rDMDDJ3IVvL4D05GBcAlfxCwRa9g8kTxMUNeW2KbYFRlRu9mlRbLJNkUd9uS3qYp9n231VZIc8r9p902zqIt-mbZPmaRGZUqc6S7fpYbNLi2yXbDb1fof5nqqsqA64U1lKAxqbWPsxJD50kWGeqDxkeXqILFZkedkbrcn16GoayInSWulXpfW93vNRfoxCOQvF1dSxylJrWPguLUbssoUPz_IjvDQN8DSOPsgySrelujZ3Ge3nTmPoppmEk2gKtuxFRp4XTJ-UPnVG-qlKaj8ofZrdL7_rTCh9WrJkpU9Lov8DAAD__4RAZZ4">