https://llvm.org/bugs/show_bug.cgi?id=27554
Bug ID: 27554 Summary: clang-format should sort headers case-insensitively Product: clang Version: 3.8 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: k...@bekiroglu.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified It would be nice if clang-format had the option to sort headers case-insensitively. While I realize that case insensitivity is a bit hard to define over the entire UTF-8 space, it is at least well defined for the Roman alphabet. I often have to incorporate headers from multiple modules, some of which have capitalized headers. Instead of: #include "Foo.h" #include "bar.h" ... I would like clang-format to ideally produce: #include "bar.h" #include "Foo.h" -- 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