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

            Bug ID: 39157
           Summary: clang-format version 8 2018-08-24 broke line breaking
                    after method declaration
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: da...@dzhang.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org

clang-format version 7.0.0 (tags/google/stable/2018-04-24) with
BreakBeforeBraces: Linux produces:

- (void)foo

{
...
}

clang-format version 8.0.0 (tags/google/stable/2018-08-24) produces:

- (void)foo {
...
}

It seems that there is no combination of config options in version 8 that will
produce the previous behavior.

This is pretty bad because it is a regression that prevents clang-format from
being auto-applied to existing code.

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