<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/118607>118607</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format: .clang-format-ignore: does not respect src/**/*
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
xavgru12
</td>
</tr>
</table>
<pre>
Given the file file.cpp is inside src/dir/subdir/file.cpp
configuring the ignore in:
.clang-format-ignore
src/**/*
will format src/dir/subdir/file.cpp.
I expected it to ignore src/dir/subdir/file.cpp.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8UeGunCwQfRr8Q9bAoO76gx9--WLTx0AZcRoWDOD29u0b9d60TZubEJgwc87JnGNyJhcQNWv_Y-3_ldnLGpN-My-XdgnVFO0P_YVeGHhZkS_kr6uet41T5hQyWeQ5zQxGS4nBmPfpKj7mmBiYGOYYFnJ7ouBOKnIhJuQUmDra9exNcLclpqcpt6vJxHARMxjOcxYn23fynl_Dn4vX1_xXjm8bzgUtp8JL_JD_HFtZrWyvelOhlnellGhEJ6tVL33bPXCWCzbNvUfRdNZOnWqtevRTa7qKNAhoJIhG9CCFrAWYxoKVOPfm6LBG4NOQr71_PeuYXEU576ilfHTiXnkzoc9nKgC_W8MAjpySPnC3aXeZNcJTLvkXU6HiUf-BUgP_p8Nq4DZi5iEWnjAfFvG_Pa_25PVaypaPsI6v0VFZ96me45PBeCi_P7ctxW84FwbjuVBmML7v9NLwMwAA__-EGcck">