[clang] [clang-format] Add FilesBeforeFolders option to SortIncludes (PR #208954)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 28 12:05:30 PDT 2026


================
@@ -1537,6 +1537,164 @@ TEST_F(SortIncludesTest, IgnoreExtension) {
                     "input.h"));
 }
 
+TEST_F(SortIncludesTest, FilesBeforeFolders) {
+  // When false (default), sorting is purely alphabetical: "bar/" starts with
----------------
HazardyKnusperkeks wrote:

Drop these comments, or at least reduce them to an absolute minimum.

https://github.com/llvm/llvm-project/pull/208954


More information about the cfe-commits mailing list