https://github.com/zeyi2 approved this pull request.
It seems that the `ParamExpr` may include the outer parentheses `(..)` while `RedundantExpr` doesn't... (IIUC `hasDescendant` traverses down into the expression tree) So we are essentially comparing the range of: `(std::string(s))` and `std::string(s)`. https://github.com/llvm/llvm-project/pull/179027 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
