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

            Bug ID: 27082
           Summary: want BreakConsecutiveAssignment or
                    BreakMixedAssignment
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified

Given:

int a, b, c, d = 4, e, f;

It would be helpful if there was either some way to split each declaration onto
its own line like this:

int a;
int b;
int c;
int d = 4;
int e;
int f;

...or at the very least, split up the assignments from the declarations:

int a, b, c, e, f;
int d = 4;

Perhaps the names could be BreakConsecutiveAssignment and BreakMixedAssignment
respectively?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to