<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/117893>117893</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
--dump-config option returns default configuration
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
NahuFigueroa97
</td>
</tr>
</table>
<pre>
I'm using the -style=file option to find the .clang-format in the same directory or higher, while I use the --dump-config option to check that it takes the indicated options, but it always returns the default options. It's strange because if I modify my own .clang-format incorrectly, it tells me the error so I assume it's finding the file correctly. This happens in both versions 14 and 18.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUsGumzAQ_BpzWQVhQx7h4EPbp0i59NQfMHjB7jM28tov4u8rk6St1J6Q2PHM7MwqIrt4RMnOX9n5vVI5mRDld2Xy1S4ZY1BDX41B7_LGRL9CJusXSAbhRGl3yNr32TqEsCUbPKQAs_X6ANSTU345zSGuKoH1x09SK4K2EacU4g4hgrGLwcjEN7ibwnSDTPhQOOm8bqcp-NkufylMBqcPSKawJkjqA-nAW6_tpBLqJ5YK6ZgPlHJ3tRNETDn6B1zjrLJLL3ANt8RET0ApKr8gjDipYsXOcIM1aDvvsO4Q7v6f1aYQy0ZuL4rFEzpHsD7WwBhDBApwA0WUVwT7ECpJvdI8QvxNU8MPYwmM2jb0VLIbQzLwiZGKVeAdKK-BX-pKy1YP7aAqlLxvRc-HtmsqI8WMA--Gmbcjcmz18Nb0XYPd3JwFjlNXWSka0XEuet6dz11TXy7qonjbcT6fsXkbWNfgqqyrnftc6xCXyhJllJz3l6GtnBrR0XE4Qni8wzFlQpQ7irI8Oo15IdY1zlKiPzTJJofyv-2--nl185jmqMq0ytFJk9JGrP3CxJWJ62KTyWM9hZWJaxF4fk5bDD9xSkxcD1vExPXp-1OKXwEAAP__qukBlw">