================
@@ -203,19 +203,6 @@ template <> struct 
MappingTraits<FormatStyle::BraceWrappingFlags> {
   }
 };
 
-template <> struct ScalarEnumerationTraits<FormatStyle::BracketAlignmentStyle> 
{
----------------
gedare wrote:

I understand. The only way I see to make this work out is to add two new 
members of `BracketAlignmentStyle` (e.g., `BAS_AlwaysBreakDeprecated` and 
`BAS_BlockIndentDeprecated`) and set them here, so that later the backward 
compatibility can be preserved if the newer options are not specified. I also 
don't think it would be possible to use a `bool`, because we need to store the 
value of `BracketAlignmentStyle` somewhere in order to make the backward 
compatibility work out.

https://github.com/llvm/llvm-project/pull/108332
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to