[clang] clang-format: Add IncludeSortKey option (PR #137840)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 26 00:56:40 PDT 2025


================
@@ -4382,8 +4382,18 @@ struct FormatStyle {
     ///    #include "B/a.h"           #include "a/b.h"
     /// \endcode
     bool IgnoreCase;
+    /// When sorting includes in each block, Only take file extensions into
----------------
HazardyKnusperkeks wrote:

```suggestion
    /// When sorting includes in each block, only take file extensions into
```

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


More information about the cfe-commits mailing list