https://bugs.llvm.org/show_bug.cgi?id=38099
Bug ID: 38099
Summary: Column Limit = 0 and Comment Alignement not working
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: gnue...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
Format the following Code (with ColumnLimit: 0) :
enum EFlags : uint32_t
{
eA = 1 << 0, /*!< Some multiine comment
Some multiline comment, bla bla bla bla */
eA = 1 << 98127398172391723, /*!< Some multiine comment
Some multiline comment, bla bla bla
bla */
};
results in
enum EFlags : uint32_t
{
eA = 1 << 0, /*!< Some multiine comment
Some multiline comment, bla bla bla bla */
eA = 1 << 98127398172391723, /*!< Some multiine comment
Some multiline comment, bla bla bla
bla */
};
Where as (ColumnLimit>0, here 500)
Results in
enum EFlags : uint32_t
{
eA = 1 << 0, /*!< Some multiine comment
Some multiline comment, bla bla bla
bla */
eA = 1 << 98127398172391723, /*!< Some multiine comment
Some multiline comment, bla bla bla
bla */
};
There is something different going on for ColumnLimit:0 and I thing it should
look like the last resut.
--
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