[clang-tools-extra] [clang-tidy] Improved readability redundant casting with enums (PR #111424)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 13:45:27 PDT 2024
5chmidti wrote:
> Fixed false negatives with readability-redundant-casting when the underlying types are the same and the option IgnoreTypeAliases is set to true.
To me,
> Fixed false negatives with readability-redundant-casting when casting an enum to its underlying type and the option IgnoreTypeAliases is set to true.
sounds better as the commit description.
---
The CI failure is probably because the implicit type for `E3` is not `unsigned int` on Windows.
https://github.com/llvm/llvm-project/pull/111424
More information about the cfe-commits
mailing list