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

Paul Hoad via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 13 00:45:49 PDT 2026


================
@@ -1503,6 +1503,77 @@ TEST_F(SortIncludesTest, IgnoreExtension) {
                     "input.h"));
 }
 
+TEST_F(SortIncludesTest, FilesBeforeFolders) {
+  FmtStyle.SortIncludes.FilesBeforeFolders = true;
----------------
phoad107185 wrote:

show a test with this being false

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


More information about the cfe-commits mailing list