[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-bugs
Subject: [llvm-bugs] [Bug 92999] Include the last line in the alignment of escaped new lines
From: LLVM Bugs via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date: 2024-05-22 7:19:41
Message-ID: 20240522071941.941c0802b9ce1cfb () email ! llvm ! org
[Download RAW message or body]
[Attachment #2 (text/html)]
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/92999>92999</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Include the last line in the alignment of escaped new lines
</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>
`AlignEscapedNewlines: Enas_Left` currently does the following formatting with \
`clang-format`:
```
#define TXN_START(label, tid) \
label: \
TXN_START_NORETRY(label, tid)
#define failure_response \
failure: \
simple_response(client, code); \
break;
```
Would it be possible to have a new option (or update `Enas_Left`) to also take into \
account the last line in the alignment? It would then produce:
```
#define TXN_START(label, tid) \
label: \
TXN_START_NORETRY(label, tid)
```
</pre>
<img width="1px" height="1px" alt="" \
src="http://email.email.llvm.org/o/eJysk01v2zwMxz-NfCESyHLiRAcf0jYB-uBBB3QBtp0CWaZtrYp \
kWFSDfvtBTl-WdS_AMMOQJVMif-KfVCGYziFWbHnFljeZitT7sfovWoNutrUGs9o3TxUr-caazm2DVgM2d3iyx \
mFgxQa2ToXD_9gSKznoOI7oyD5B4zEA9Qitt9afjOug9eNREaXpyVAPrOTaKtfNzgZWclZsGL9h_GUs-fN7Xoq \
iwdY4hP3nu8PH_eZ-z8TaqhotE9dApmFCAlten7cDAJyNxTT_8Xnb-OrucPfhfru___Le7QXWK0erjI0jHkYMg \
3cBL4M_W38R_oIAAII5DvbNFRNrnUSgxKB9gwmiuLo8U4-oHlhx9fN0TeMnH20DhqBGGHwIprYI5KFXjwgKHJ7 \
AD2S8AybWfoQ4NIowafO9sCmx5EHZ4IHUA4Jxaam1j44mma0KBKkowLjph0r1ckwXKHZnlFuC00RDPToYRt9Ej \
f9C8ne5_J3sfyv9C1jWVEUjC6kyrPJVXhalKNZ51lcN5stymZecF3ktV8uV0mtZFlyuZM0XqzIzleBiwZdC8FU \
uF_lcLnLN11zUUmOu25otOB6VsXNrH49zP3aZCSFiJYWUMpuwwtSpQiTdJiMTIjXuWKUzszp2gS24NYHCmxcyZ \
LG6ddrGBv-gFvgW8NzlU3FMfZ7F0VY90ZA6nokdE7vOUB_rufZHJnYp0vNnNoz-K2piYjfxBSZ2E_-3AAAA___hTEyh">
[Attachment #3 (text/plain)]
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic