[clang-tools-extra] [clang-tidy] exclude CXXParenListInitExpr from RedundantCastingCheck (PR #109741)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 09:30:06 PDT 2024


5chmidti wrote:

Actually, shouldn't this check instead change an explicit cast for a `CXXParenListExpr` from `static_cast<C>(42)` to `C(42)`? Doing this would be fairly simple and there should not be any case that wouldn't support it FWICT.

https://github.com/llvm/llvm-project/pull/109741


More information about the cfe-commits mailing list