https://bugs.llvm.org/show_bug.cgi?id=38558
Bug ID: 38558
Summary: ColumnLimit set to 0 has unexpected behaviour
Product: new-bugs
Version: 6.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: janwilm...@gmail.com
CC: llvm-bugs@lists.llvm.org
I have looked at #18214, #19664, #23825, etc.. but this seems to be another
oddity:
clang-format formats this line:
COM_CALL(foo, bar)(0.0);
as:
COM_CALL(foo, bar)
(0.0);
When "ColumnLimit: 0" is set.
This is odd, because "ColumnLimit: 120" does not have this behavior and seems
to contradict:
"A column limit of 0 means that there is no column limit. In this case,
clang-format will respect the input’s line breaking decisions within statements
unless they contradict other rules."
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs