[llvm-bugs] [Bug 32503] New: [java] missing BraceWrapping: AfterInterface option

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 3 08:42:22 PDT 2017


            Bug ID: 32503
           Summary: [java] missing BraceWrapping: AfterInterface option
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jensfischer95 at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

As far as I can tell, there's no way to achieve this formatting:

public interface Foo
  void bar();

This always gets reformatted to:

public interface Foo {
  void bar();

For both classes and enums, this can be controlled with `AfterClass` and
`AfterEnum` respectively. An `AfterInterface` setting seems to be missing
however. None of the non-custom `BraceBreakingStyle` options seem to help

clang-format version: 5.0.0 (1cd6beccb6bb876db3bbfa763e8979)

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170403/69fdbc8a/attachment.html>

More information about the llvm-bugs mailing list