https://llvm.org/bugs/show_bug.cgi?id=31649

            Bug ID: 31649
           Summary: Alignment support for array initializer
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: roland.sch...@intel.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

It would be nice if it would be possible to align array initialization such as
int m[][2] = {
  {10, 2},
  { 1, 2}};
the same was as it is already possible to enable alignment for declaration and
assignment. This would preserve the alignment in the example. As is, it
produces (with ColumnLimit=0):
int m[][2] = {
  {10, 2},
  {1, 2}};

-- 
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

Reply via email to