[clang] [Clang] omit parentheses in fold expressions with a single expansion (PR #110761)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 08:24:32 PDT 2024


================
@@ -378,6 +378,8 @@ Improvements to Clang's diagnostics
 
 - Clang now emits a diagnostic note at the class declaration when the method definition does not match any declaration (#GH110638).
 
+- Clang now omits warnings for extra parentheses in fold expressions with single expansion. (#GH101863)
----------------
erichkeane wrote:

```suggestion
- Clang now omits warnings for extra parentheses in fold expressions with single expansion (#GH101863).
```

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


More information about the cfe-commits mailing list