================ @@ -166,6 +166,16 @@ struct IncludeStyle { /// directives that use the specified character are considered. /// \version 19 MainIncludeCharDiscriminator MainIncludeChar; + + enum IncludeSortKeyDiscriminator : int8_t { + /// Includes are sorted alphabetically by their full path. + ISK_Path, + /// Includes are sorted alphabetically by their full path without file + /// extension. + ISK_Stem, + }; + + IncludeSortKeyDiscriminator IncludeSortKey; ---------------- HazardyKnusperkeks wrote:
You need to initialize this, in `Format.cpp` around line 1585. 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