[clang-tools-extra] [clang-tidy] exclude CXXParenListInitExpr from RedundantCastingCheck (PR #109741)
FĂ©lix-Antoine Constantin via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 24 10:41:02 PDT 2024
================
@@ -183,6 +183,10 @@ Changes in existing checks
by adding the option `UseUpperCaseLiteralSuffix` to select the
case of the literal suffix in fixes.
+- Improved :doc:`readability-redundant-casting
+ <clang-tidy/checks/readability/redundant-casting>` check to
+ exclude `CXXParenListInitExpr` for the source expression matcher.
----------------
felix642 wrote:
I don't think we should mention `CXXParenListInitExpr` as this is internal to clang-tidy and not something the end user is aware of.
What about ?
```
- Improved :doc:`readability-redundant-casting
<clang-tidy/checks/readability/redundant-casting>` check
by addressing a false positive in aggregate initialization through
parenthesized list.
```
https://github.com/llvm/llvm-project/pull/109741
More information about the cfe-commits
mailing list