[clang-tools-extra] [clang-tidy] Improved readability redundant casting with enums (PR #111424)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 22:33:54 PST 2024


=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/111424 at github.com>


https://github.com/HerrCai0907 commented:

Is it really a false negative? In another word, does `enum E1 : char {};` mean `E1` is the type alias of `char`?
IMO is not. for me a new option is more suitable for this case.

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


More information about the cfe-commits mailing list