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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to