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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs