<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62108>62108</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
request: clang-format to recurse over directories
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mcandre
</td>
</tr>
</table>
<pre>
Please implement directory recursion for clang-format. This helps to quickly format large C/C++ project directories.
As a workaround, UNIX users can write a custom shell script. But that would force WSL for Windows C/C++ developers.
As a workaround, cmake users can use a `file` ... `GLOB_RECURSE` ... directive. But not all C/C++ users use cmake.
Really, I would like to see cpplint do this work automatically.
Start with the conventional filenames: .c, .cpp, .h, .hpp, and introduce other common file extensions such as .cc, .cxx, .hxx, case insensitivity, and so on.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEk79u4zgQxp-GagYRJEr2OYWK2IkPAYK7Q3JBtluMqLHFNUUq5NCO335ByUHiahsSFMVvfvPnwxD03hI1YrEWi_sMI_fON4NC23nKWtedm_8MYSDQw2hoIMvQaU-KnT-DJxV90M7CznlQBu3-Zuf8gJzD_70O0JMZA7CD96jVwZxhvgWDfk-wEXK7EXIt5BpG736R-hLXFHJR3Ivibl7vAiCcnD-gd9F2Qm7g9Z_HHxAD-QAKLZy8ZgIEFQO7AUJPxkBQXo-cwzoycI8MJxdNlzAUwdvL0wT-pm3nTuGKp6MjGTeS_yOGGvBA3zhiSBRiWey0IbEsIM_zdPz76d_1z-eHzevzy8Pn5zlbfaSZ0DoGNOYKZBZOolOgK5pnQmPOCeLxkpjRB0r1DkSgxtHo1C8HnJqRsAEjuwFZq_TySuyF0TOcNPfAPYFy9kiWtbNoIKVicaAgqjvIVYqYq3Gc9n5e5xPaDrRl77qoCBz35EG5YUgjog0BfTDZNDEBQlQ9YIBcXfQ-PmaleVfT0NmQfmd91Hz-1A8OnM2zrqm62-oWM2rK5aqs6lLWi6xv6LZaFoS7qqhohcWyUu1fLS5Vqdq6pIXMdCMLWRV1KWVV1sUir7Aqd4jdaoEVyl0t6oIG1CY35jjkzu8zHUKkZinLYpUZbMmEyTFSWjrBdCmkTAbyTXpz08Z9EHVhdODwpcKaDTWe3iMFTpX87pjUtdlPBO5I_rsTsuhN0zOPqf5CboXc7jX3sc2VG4TcpgiX7eZiJCG3E1cQcjtx_w4AAP__6o9KHA">