[llvm-bugs] [Bug 41170] New: [clang-format] Break after return type ignored with certain comments positions
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 21 00:46:55 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41170
Bug ID: 41170
Summary: [clang-format] Break after return type ignored with
certain comments positions
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: mydeveloperday at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Using:
BasedOnStyle: GNU
The following examples show how BreakAfterReturnType can be inconsistent
void
foo (int a, // abc
int b // def
)
{
}
void foo (int a, // abc
int b) // def
{
}
void
foo (int /*a=*/a, int /*b=*/b)
{
}
void
foo (int a /*a=*/, int b /*b=*/)
{
}
void
foo (int a, /*a=*/
int b /*b=*/)
{
}
void
foo (int a, /*a=*/
int b /*b=*/
)
{
}
--
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/20190321/440605b5/attachment.html>
More information about the llvm-bugs
mailing list