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: unassignedclangb...@nondot.org
Reporter: mydeveloper...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs