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

I think I figured out the problem, but I'm not sure if/how to fix it. During 
the `ConfigParseTest.GetsCorrectBasedOnStyle` within the call to 
`parseConfiguration` the `Language` is not set (i.e., it is `LK_None`). This 
means that parsing out `BasedOnStyle` by itself will not be able to pick up any 
language-specific parsing options. In my case, this means it does not pick up 
the need to set the backward compatible definitions that support `AlwaysBreak` 
for Google style with JavaScript. 

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