[clang-tools-extra] [clang-tidy] Fix `cppcoreguidelines-use-enum-class` anonymous enum bug (PR #215352)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 11:50:29 PDT 2026


vbvictor wrote:

> > This looks fine to me, so in this PR can we add in docs that this check _dont_ flag unnamed enums (and in the future we can link the other check that can do that).
> 
> Thank you. I will add it to the docs. So you do agree there should be a new check and I can start implementing it in a separate PR?

Yeah, you can go ahead. Please read https://clang.llvm.org/extra/clang-tidy/Contributing.html for guide of how to write proper check.

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


More information about the cfe-commits mailing list