<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54953>54953</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Aligning consecutive macros changed in clang-format 14
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Julien-Elie
</td>
</tr>
</table>
<pre>
With clang-format 14.0.0 and also 14.0.1, the alignment I had with the 13.0.0 version changed:
```
#if HAVE_STDBOOL_H
# include <stdbool.h>
#else
# if HAVE__BOOL
# define bool _Bool
# else
# ifdef __cplusplus
typedef bool _Bool;
# elif _WIN32
# include <windef.h>
# define bool BOOL
# else
typedef unsigned char _Bool;
# define bool _Bool
# endif
# endif
# define false 0
# define true 1
# define __bool_true_false_are_defined 1
#endif
```
I previously had (with 13.0.0):
```
# define false 0
# define true 1
# define __bool_true_false_are_defined 1
```
I'm using:
`AlignConsecutiveMacros: AcrossEmptyLinesAndComments`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylVE2P2yAQ_TX4gtbC2PnwwYd8VZtq2z206h4RNuOYCkNkcKL8-4Kz2SSbRHsosjHwZt7MwMOlEYfiTboGV4rrzVNtupY7nGQxiQnmWmCurDnOE0QX2DXgl-RGt6AdXuOGC7wP_gFI0sFtB52VRuOq8ZQgUDpDZInIqR-T9-c4pams8fPsz4r9-r2cv76-sOcPBPsmdaV6ARilC-tEaYyKG5SuPmxAWbh2eKdjgewKCU1ALTXgwIPZ3PdXFjdkR0LvhBmrtqq34T1auMMWAnBBlc5vnEH5fNjb-mdKb7BP5e2l9nzX1V2aXqZ-t7Zz9qfcem39WYEIZ9E9TvLrjRnotZD19XbdrLyz1F42gMk9yHW9V8o9hLEQnAUDNhAw3gE7guLC5TLqJzFd9Gu87WAnTW_VYZApotNBqUeVIpp_Kcybgh61x4U-bP-xA_dqXiM6aXFvpd6cyxqTWbiqC6MtVL2TO_jBq85Yb4FnYWBX7dYdXjy7nWmxMG241db7RaJIRZ7mPHLSKSgGHs-NqzMXbgey0zX3Sv78E4n6ThWNc9sQEdFv_tn4E-jLuDKtnyi1O32etp35C5XzU2ltD9YPRlk-SqOmoNNkUtYkT9LxNBuTpBTThFJa05xUWUpopHjppV-g0RxRqmGPBwo_RqNlJAtKKCVZMklS6q3jyRQgq0fZJMt5AtMaZQRaLlUc8ohNt4m6Ykip7DfWg0paZ88gt8OVgiGc5-e9a0xXfO-VBP208n00hC-G9P8BKNuJAg">