[clang] [clang-format] Add FilesBeforeFolders option to SortIncludes (PR #208954)
Savvas Shiakas via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 19 12:04:19 PDT 2026
================
@@ -6821,6 +6821,19 @@ the configuration (without a prefix: ``Auto``).
# include "A.inc" # include "A.h"
# include "A-util.h" # include "A.inc"
+ * ``bool FilesBeforeFolders`` When ``true``, sort includes so that files in a directory appear
----------------
Shiakaron wrote:
> This doesn't feel like the correct option name
Naming is hard 😅 Couldn't think of anything else that is descriptive and concise
https://github.com/llvm/llvm-project/pull/208954
More information about the cfe-commits
mailing list