[llvm-bugs] [Bug 42417] New: clang-format inserts a space after '->' for operator->() overloading
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 27 01:00:43 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42417
Bug ID: 42417
Summary: clang-format inserts a space after '->' for
operator->() overloading
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: darklin20 at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
clang-format formats like:
class Bug {
auto operator-> () -> int*;
auto operator++(int) -> int;
};
You can notice that a space inserted after 'operator->' while no space is
inserted after 'operator++'.
--
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/20190627/429c3a27/attachment.html>
More information about the llvm-bugs
mailing list