[llvm-bugs] [Bug 32117] New: FixNamespaceComments on an empty namespace will add the comment

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 2 06:49:59 PST 2017


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

            Bug ID: 32117
           Summary: FixNamespaceComments on an empty namespace will add
                    the comment
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

----
BasedOnStyle: LLVM
FixNamespaceComments: true
----

foo.c
----
namespace a {

}
----

$ clang-format-5.0 foo.c
namespace a {} // namespace a

-- 
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/20170302/1569bbe8/attachment-0001.html>


More information about the llvm-bugs mailing list