<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67116>67116</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format-16 AlignTrailingComments: Kind: Leave moves comments #3
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MartinsSmirnovs
</td>
</tr>
</table>
<pre>
Given following `.clang-format` file:
```
AlignEscapedNewlines: Left
AlignTrailingComments:
Kind: Leave
```
And following `file.hpp` header file:
```
#define MACRO \
/* foo1(); */ \
foo2();
```
I expect that `clang-format file.hpp` will not perform formatting, however, it does:
```
$ clang-format file.hpp
#define MACRO \
/* foo1(); */ \
foo2();
```
`clang-format` version:
```
$ clang-format --version
Ubuntu clang-format version 17.0.0 (++20230827093036+e91ad6b97fcb-1~exp1~20230827093150.32)
```
Perhaps the core issue is the same as #59635.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMk9uOmzwQx5_G3IyCzJhDuOAiyX75VLXbVj08gIEBXBkb2U6yvdlnr2Cz26TKtouQOcx_PL-_7ZHeq94QVSzbsuwukocwWFfdSxeU8V9H5Yw9-qi27c_qf3UkA53V2p6U6YHlPG60NP2qs26UgeUcOqWJiQ3jd4xvWM7P9_K50ao3__lGTtR-pJNWhjwTG_hAXbhQfHNSaWX6nR1HMsG_TAcA8F6Z9ilHHul2FdNeM85I8TBNM95AsiX3V0qGoqVOGYL7ze7LJwBg2e4ZgOGe4QY6axOGa4YlE1tguGG4v5R11uJL_GaVd0APEzUBwiDDTHm5kHCJfFJag7EBJnJzGJ40QZme4Q4Ge6IjuflVBWgt-deNpXCzCrzB-Hy9zfy_vf_hdjZ5JOeVNW9GX62eM5b49_pgwuFachZAUsQ85rAgbRlukaPgayx4KbjIGW6pTGSb12XRNfUqeaSHKXm8ECUZjwXOdm6SLeNncoOcPISBoLGOQHl_mMflj5cjgfTAUGRlLrI4aivRlqKUEVVJXmZiLURZREPVdXmR5E2JaZulAmvCNTUpF1hQQUVWRqpayErEJEnLTMRcpJLSpuG8LRPeNizlNEqlY62PY2xdHy0oVV4kSR5pWZP2S68jXu0B4tz9rprTVvWh9yzlWvngf08UVNBUXWatkhxea9nrToXRHslDc47PSyGig9PVEMK0nNj5bO17FYZDHTd2ZLifC58fq8nZH9QEhvvFjme4Xxz9CgAA__-Q2V-X">