[llvm-bugs] [Bug 48537] New: clang-format Thinks Minus Is Negative
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 16 21:27:31 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48537
Bug ID: 48537
Summary: clang-format Thinks Minus Is Negative
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: gavin.d.howard at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 24298
--> https://bugs.llvm.org/attachment.cgi?id=24298&action=edit
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
https://git.yzena.com/Yzena/Yc/src/commit/dadbb62db6023b532bf0bbe7d73303950710937f/src/map/map.h
. The spaces after the minus operators on lines 114 and 143 are removed.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201217/f7f45e63/attachment.html>
More information about the llvm-bugs
mailing list