[llvm-bugs] [Bug 51617] New: separate lines arguments are merged into single line in 'chain' function call
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 25 01:48:18 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51617
Bug ID: 51617
Summary: separate lines arguments are merged into single line
in 'chain' function call
Product: clang
Version: 9.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: marwrobel at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
clang-format config based on webkit (but this is not that important):
clang-format --style=WebKit --dump-config > .clang-format
I have a chain function call with args placed in separate lines:
chain1(123456789).chain2(a,
b,
c);
when I increase arg length to more then 9 chars formatter, merges args into
single line:
chain1(1234567890).chain2(a, b, c);
I would expect that arguments won't be merged into a single line (same as in
clang-format 3.4.2)
I've checked all clang-formats >= 4 and <= 9 and the all have the same issue
--
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/20210825/81eb53ab/attachment.html>
More information about the llvm-bugs
mailing list