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

            Bug ID: 32017
           Summary: [clang-format] Should put on a new line every classes
                    when more than one is used
           Product: clang
           Version: unspecified
          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]

With Mozilla coding style

We should have:
class MyClass
  : public X  // When deriving from more than one class, put each on its own
line.
  , public Y

and clang-format will give us:
class MyClass : public X // When deriving from more than one class, put each on
                         // its own line.
                ,
                public Y

We should probably add an option to manage this case.

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