[llvm-bugs] [Bug 38558] New: ColumnLimit set to 0 has unexpected behaviour
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 14 04:02:30 PDT 2018
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: unassignedbugs at nondot.org
Reporter: janwilmans at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180814/c51b9d55/attachment-0001.html>
More information about the llvm-bugs
mailing list