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

            Bug ID: 28203
           Summary: clang-format treats white space in #include list a
                    little strangely with includecategories
           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

For instance 

    #include "b"

    #include "a"

because of the white space, doesn't get resorted (assuming appropriate
categories) to

    #include "a"
    #include "b"

People randomly putting blank lines in #includes is not that uncommon, sadly.

It'd be really really nice if you could also specify a category should have a
blank line output before the contents of the category.

-- 
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