[llvm-bugs] [Bug 24407] New: clang-format incorrectly puts namespace close bracket on the same line as variable

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 9 11:20:35 PDT 2015


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

            Bug ID: 24407
           Summary: clang-format incorrectly puts namespace close bracket
                    on the same line as variable
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ryan.burn at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

This code

namespace cat {                                                                 
constexpr struct mouse_t {} mouse{};                                            
}

incorrectly gets formatted to

namespace cat {                                                                 
constexpr struct mouse_t { } mouse{}; }

-- 
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/20150809/d0343b9d/attachment.html>


More information about the llvm-bugs mailing list