[clang] [clang-format] Add PackParameters enum option to replace BinPackParameters. (PR #101882)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 4 11:50:24 PDT 2024


================
@@ -1918,11 +1901,12 @@ void ContinuationIndenter::moveStatePastScopeOpener(LineState &State,
     // for backwards compatibility.
     bool ObjCBinPackProtocolList =
         (Style.ObjCBinPackProtocolList == FormatStyle::BPS_Auto &&
-         Style.BinPackParameters) ||
+         (Style.PackParameters == FormatStyle::PPS_BinPack)) ||
----------------
HazardyKnusperkeks wrote:

```suggestion
         Style.PackParameters == FormatStyle::PPS_BinPack) ||
```

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


More information about the cfe-commits mailing list