================
@@ -4226,6 +4226,19 @@ the configuration (without a prefix: ``Auto``).
   ``ClassImpl.hpp`` would not have the main include file put on top
   before any other include.
 
+.. _IncludeSortKey:
+
+**IncludeSortKey** (``IncludeSortKeyDiscriminator``) 
:versionbadge:`clang-format 20` :ref:`ΒΆ <IncludeSortKey>`
+  When sorting includes in each block, sort by the specified sort key
+
+  Possible values:
+
+  * ``ISK_Path`` (in configuration: ``Path``)
----------------
owenca wrote:

I think "stem" means the filename (excluding the parent path part) without the 
last extension. For example, the stem of `foo/bar/a.hpp.in` is `a.hpp`, not 
`foo/bar/a.hpp`, which is what this new option is about. We should come up with 
a better name for the option, and I prefer a boolean to an `enum`.

https://github.com/llvm/llvm-project/pull/137840
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to