================
@@ -586,7 +586,8 @@ template <>
struct ScalarEnumerationTraits<FormatStyle::SeparateDefinitionStyle> {
static void enumeration(IO &IO, FormatStyle::SeparateDefinitionStyle &Value)
{
IO.enumCase(Value, "Leave", FormatStyle::SDS_Leave);
- IO.enumCase(Value, "Always", FormatStyle::SDS_Always);
+ IO.enumCase(Value, "One", FormatStyle::SDS_One);
+ IO.enumCase(Value, "Two", FormatStyle::SDS_Two);
IO.enumCase(Value, "Never", FormatStyle::SDS_Never);
}
----------------
HazardyKnusperkeks wrote:
It will be `SDS_One`, it's just for the `.clang-format` file out there, which
contain "Always". We provide compatibility for the config files, the users of
libformat are not so lucky.
You'll find plenty of examples in other enums.
https://github.com/llvm/llvm-project/pull/77918
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits