[clang-tools-extra] [clang-tidy] Add new check readability-trailing-comma (PR #173669)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 2 20:05:27 PST 2026
zwuis wrote:
Enumerators can have attributes.
```cpp
enum E {
E1 [[deprecated]] = 1,
E2 [[deprecated]]
};
```
---
It would be nice to emit warnings if both options are set to `Ignore`. Could refer to readability-simplify-boolean-expr.
https://github.com/llvm/llvm-project/pull/173669
More information about the cfe-commits
mailing list