================
@@ -15598,6 +15598,9 @@ 
TreeTransform<Derived>::TransformCXXFoldExpr(CXXFoldExpr *E) {
     return getDerived().RebuildEmptyCXXFoldExpr(E->getEllipsisLoc(),
                                                 E->getOperator());
 
+  if (*NumExpansions == 1)
----------------
a-tarasyuk wrote:

@erichkeane thanks for the detailed feedback! I’ve added more tests and 
adjusted the ignore parentheses to apply to the pattern. Are there any other 
cases that should be covered?

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

Reply via email to