[llvm-bugs] [Bug 48752] New: ColumnLimit=0 not respected on short eunms
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 14 07:55:54 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48752
Bug ID: 48752
Summary: ColumnLimit=0 not respected on short eunms
Product: clang
Version: 11.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: barry.revzin at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
This header:
enum class ConstantTimeSize { Disabled, Enabled };
With this formatting:
AllowShortEnumsOnASingleLine: true
ColumnLimit: 0
Gets formatted as:
enum class ConstantTimeSize { Disabled,
Enabled };
Without ColumntLimit=0 (or an otherwise sufficiently high one), the original
formatting is preserved. But the point of ColumnLimit=0 is to respect the
input's breaking decisions.
--
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/20210114/fac3af2a/attachment.html>
More information about the llvm-bugs
mailing list