https://github.com/rymiel approved this pull request.
I can definitely think of cases where an expression might contain `...` and still have redundant parentheses, i.e. if the ellipsis isn't part of a fold expression For example: ```c++ template <typename... N> std::tuple<N...> foo() { return (std::tuple<N...>{}); } ``` Those parens around the returned expression are redundant, but they would now no longer be removed. I wouldn't worry too much about this, but, pedantically, you can be sure it's a fold expression if the ellipsis is followed with or preceded by an operator https://eel.is/c++draft/expr.prim.fold#nt:fold-operator https://github.com/llvm/llvm-project/pull/91045 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits