================
@@ -14,7 +14,7 @@ enum ERef1 {
 enum ERef2 {
   ERef2_a = 0,
   ERef2_b,
-  ERef2_last = ERef2_b,
+  ERef2_last = ((ERef2_b)),
----------------
zeyi2 wrote:

The parenthesized forms look right, but they replace the existing 
unparenthesized tests. 

Could you keep the original lines and add the parenthesized variants as 
separate enumerators, e.g. `ERef2_paren = ((ERef2_b))`?

https://github.com/llvm/llvm-project/pull/228401
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to