[clang-tools-extra] [clang-tidy] Temp fix for assert in performance-string-view-conversions (PR #179027)

via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 31 02:43:22 PST 2026


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


More information about the cfe-commits mailing list