[llvm-bugs] [Bug 32656] New: [java] newline is added before ; after enum / interface declarations

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 13 11:56:04 PDT 2017


http://bugs.llvm.org/show_bug.cgi?id=32656

            Bug ID: 32656
           Summary: [java] newline is added before ; after enum /
                    interface declarations
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          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

This:

enum Foo {};

gets reformatted to:

enum Foo {}
;

The same thing happens with interfaces. It's not an issue with classes, so I
assume that there's already a special case for that.

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/20170413/d119f182/attachment.html>


More information about the llvm-bugs mailing list