[llvm-bugs] [Bug 34732] New: FixNamespaceComments does not work when namespace braces are on the next line

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 26 02:30:12 PDT 2017


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

            Bug ID: 34732
           Summary: FixNamespaceComments does not work when namespace
                    braces are on the next line
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: npl at chello.at
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

The FixNamespaceComments feature does not work if the formatter is configured
to wrap after namespace definitions.

simple .clang-format to test this:

BasedOnStyle: LLVM
BreakBeforeBraces: Allman
FixNamespaceComments: true

-- 
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/20170926/77764123/attachment.html>


More information about the llvm-bugs mailing list