================
@@ -134,6 +134,19 @@ template <> struct
ScalarEnumerationTraits<FormatStyle::BinaryOperatorStyle> {
}
};
+template <>
+struct ScalarEnumerationTraits<FormatStyle::BinPackParametersStyle> {
+ static void enumeration(IO &IO, FormatStyle::BinPackParametersStyle &Value) {
+ IO.enumCase(Value, "OnePerLine", FormatStyle::BPPS_OnePerLine);
+ IO.enumCase(Value, "BinPack", FormatStyle::BPPS_BinPack);
----------------
owenca wrote:
```suggestion
IO.enumCase(Value, "BinPack", FormatStyle::BPPS_BinPack);
IO.enumCase(Value, "OnePerLine", FormatStyle::BPPS_OnePerLine);
```
https://github.com/llvm/llvm-project/pull/101882
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits