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

            Bug ID: 28225
           Summary: Need an option to leave a white space at the end of
                    namespace block
           Product: clang
           Version: 3.8
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: ttann...@bloomberg.net
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

This code:

   namespace A {
   namespace B {

   void somefunc()
   {
   }

   }
   }

with the appropriate options (break before all braces except namespace braces,
keep empty lines at start of block), ends up formatting like this:

   namespace A {
   namespace B {

   void somefunc()
   {
   }
   }
   }

which has a definite loss of readability. I can't find any options to put that
white space back.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to