<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61679>61679</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Too much indentation for pragma's in clang-format 16, was good in clang-format 15
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JohnC32
</td>
</tr>
</table>
<pre>
Given this which was indented using clang-format 15:
```c++
#pragma comment( \
linker, \
"\"/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
```
using `_clang-format`:
```yaml
---
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 100
...
```
clang-format 16 yields the following:
```c++
#pragma comment( \
linker, \
"\"/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
```
Notice the indentation for clang-format 16 is too much and not consistent with the clang-format doc.
Continuation should be 4 spaces, but clang-format 16 gives something else. The clang-format 15 behavior is
consistent with the doc.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzkVMuO6jgQ_RpnUyJKnFezyIKmxdW8F9NSL0eOXSQ113Gh2AHx9yMnoNtwZ2Y1uxERkFMPH586tvKeeofYiupVVG-JmsPAU_sjD25fyKRjc22_0BkdhIE8XAbSA1yUB3IGXUADsyfXg7bK9ZsjT6MKkFei2InsTWT37zpbHy3ka3xWVBanSfWjAs3jiC4I-QKi2q9RAABL7itOQu4fYSFlfJdSyMOoHB3RB4MnjJT0VRS7cD2hKN6EbD7IFVLIBpwab9AvpCf2fAzpBznDF5_ueRzZbfbswsTWx_QzTp7YrRV1msVPxE8Ta_Sep92kBwqowzzd-gq5WzLmzpL-Ca_v_BXvDapt1dVlXpZaH3NzjHlRsFn1D8X3XUkht0_KfZZzlVzU2R-fZY9J_yD7VY12hTabzfrnVXk0v7nfw9WiKHbwhbm3uMZ-WGb7QSYMMVSu6J7tPLqfaaQQ0Ty7cUrT9F-4PhqjhiuhNR7CgHBka_lCrv-P3PLomE-x_7tffuVAGhfN12OrArGDI0_wPB7yEJhhnPUAyhlwHECz8-QDugAXCsPS56HOsE7vHnGB3Lz29wPP1kCHUII_KY0-zqWbw3er9nRGD55HDEO0NlqPKbw_r5NX0OGgzsQTkL_562_IfeOTmLYw22KrEmzzutnWdVPKJhnaTDfbLlO5NFWxzaTOq6woc91l0pi8001CrcxkkRWyzMu8yZpUvWylUlmz7ZR-UWUtygxHRTa19jymPPUJeT9jW8d1Eqs6tH65VaV0eIEluBjxLZnaWLPp5t6LMrPkg__WJVCw2L7fh_A8sPUMCNnEK_hZyKhvvJx7ZvN9uErmybZDCCcfT5w8CHnoKQxzl2oehTxEDrefzWniP1EHIQ8Lcy_kYdnZXwEAAP__sVze2g">