[clang-tidy] Option to remove redundant parentheses in declarations
Open
clang-tidy
enhancement
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
| Before | After |
| --- | --- |
| `int (x);` | `int x;` |
| `void (f)(int (x));` | `void f(int x);` |
`readability-redundant-parentheses` is related, but just removes parentheses from expressions (https://godbolt.org/z/rEKoWxdqv)
Contributor guide
Assessment
This issue has not been assessed yet.