| Issue |
52985
|
| Summary |
Respect the column limit when aligning consecutive macros
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
Julien-Elie
|
When aligning consecutive macros, the maximum line length does not seem to be taken into account:
```
#define HDR_LASTCHAR_SAVE(_x) hc[(_x)].LastChar = hc[(_x)].Value[hc[_x].Length]
#define HDR__X_ORIGINAL_NNTP_POSTING_HOST 68
```
which is larger than the expected `ColumnLimit` of `79`.
Whereas the first line is properly wrapped if it is the one that causes the exceed:
```
#define HDR_LASTCHAR_SAVE(_xxxx) \
hc[(_xxxx)].LastChar = hc[(_xxxx)].Value[hc[_xxxx].Length]
#define HDR__X_ORIGINAL_NNTP_POSTING_HOST 68
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs