<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/91877>91877</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] format applied to `// clang-format off` annotation
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
yshui
</td>
</tr>
</table>
<pre>
Example: https://github.com/yshui/picom/blob/d91e260f2738c765f72e9e990bfecf1baa76a70f/src/options.c#L399
clang-format configuration: https://github.com/yshui/picom/blob/next/.clang-format
When formatted, clang-format will try to add an extra level of indentation to `// clang-format off`, which, even not considering that fact this line is telling clang-format to not touch it, is still wrong.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUk1znDAM_TXmogljZD7WBw5pUk6992yMDO54bQaLJPvvO7CZafbSzvQCtqX39CQ9k7OfI1Evmm-ieS3Mzkva-ltedl-Mabr13z_MdQ0k1DMszGsW6lngIHCYPS_7WNp0FTicAIHD6u_3MaRR4DDpirCVDjt1sV3buA5Jk9ZydGRdNRrTtaaTTuCQNytwSCv7FHNpBaofSmshX4V8vn9tMHF-cmm7GgabovPzvpkj___ERfpggUP5lfdrvZ8LRbg_M00CX-BBwbsPAXi7AScw0wQmAn3wZiDQGwVIDnycKPKp8EgSrbyLe-RJzp2RF3hfvF2OA71RhJjOLrOfaPNxBl4MgzOWgRefIfhI4DMwhXCEHzg5nXBOu13A88HpM2Q-JL9vKc5lMfVq0kqbgvqqq5paY31RxdJjI10rK6eskdYaRRc3NZWup7q5tIRN4XuUWMumQtnUFaqyo1ErrduqbrC-OCVqSVfjQxnC27VM21z4nHfqdXXpuiKYkUI-_Yb4MHrEw4Fbf8Cexn3OopbBZ85_iNhzOL36AGxeP9cEZl2Dp-mf0wYTY7pvpti30P_FPEftz9_TuqVfZA_TnB1lgcPZ1O8AAAD__6VED8Y">