[clang] Allow SortIncludes to override DisableFormat when both are explicitly set to true (PR #208916)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 15 02:48:29 PDT 2026


================
@@ -1355,6 +1355,8 @@ template <> struct MappingTraits<FormatStyle> {
     IO.mapOptional("Cpp11BracedListStyle", Style.Cpp11BracedListStyle);
     IO.mapOptional("DerivePointerAlignment", Style.DerivePointerAlignment);
     IO.mapOptional("DisableFormat", Style.DisableFormat);
+    if (Style.DisableFormat)
----------------
mydeveloperday wrote:

Can we link the previous discussions

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


More information about the cfe-commits mailing list