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

Daan De Meyer via cfe-commits cfe-commits at lists.llvm.org
Mon May 19 03:43:38 PDT 2025


================
@@ -152,6 +152,10 @@ struct IncludeStyle {
   /// \version 10
   std::string IncludeIsMainSourceRegex;
 
+  /// When sorting includes in each block, ignore file extensions.
----------------
DaanDeMeyer wrote:

I added more explanation and added an example

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


More information about the cfe-commits mailing list