<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 - clang-format Thinks Minus Is Negative"
href="https://bugs.llvm.org/show_bug.cgi?id=48537">48537</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-format Thinks Minus Is Negative
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gavin.d.howard@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=24298" name="attach_24298" title="Style file">attachment 24298</a> <a href="attachment.cgi?id=24298&action=edit" title="Style file">[details]</a></span>
Style file
clang-format can be tricked into thinking that a minus operator is a unary
negative operator.
Using the attached style file, run clang-format on
<a href="https://git.yzena.com/Yzena/Yc/src/commit/dadbb62db6023b532bf0bbe7d73303950710937f/src/map/map.h">https://git.yzena.com/Yzena/Yc/src/commit/dadbb62db6023b532bf0bbe7d73303950710937f/src/map/map.h</a>
. The spaces after the minus operators on lines 114 and 143 are removed.</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>