<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unnecessary break when line is at line length and ends with NS_SWIFT_NAME()"
href="https://bugs.llvm.org/show_bug.cgi?id=47920">47920</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unnecessary break when line is at line length and ends with NS_SWIFT_NAME()
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Formatter
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bhamiltoncx@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre><a href="https://reviews.llvm.org/D89425">https://reviews.llvm.org/D89425</a> introduces a bug for lines that are at the line
length limit and end with `NS_SWIFT_NAME()` or `CF_SWIFT_NAME()`.
For example, with `NS_SWIFT_NAME(foo(bar:))`, before the diff, the colon after
`foo(bar:` had `L=97`:
```
M=0 C=0 T=ObjCMethodExpr S=0 F=0 B=0 BK=0 P=63 Name=colon L=97 PPK=2
FakeLParens= FakeRParens=1 II=0x0 Text=':'
```
and after, it has `L=98`:
M=0 C=0 T=Unknown S=1 F=1 B=0 BK=0 P=43 Name=colon L=98 PPK=2 FakeLParens=
FakeRParens=0 II=0x0 Text=':'
`L` is `Line.Level`. I don't understand why it would increase by 1 here.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>