[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:44:31 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
----------------
phoad107185 wrote:
what does it do when its false? does it leave it alone or is it FoldersBeforeFiles?
This doesn't feel like the correct option name
https://github.com/llvm/llvm-project/pull/208954
More information about the cfe-commits
mailing list