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

FĂ©lix-Antoine Constantin via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 2 09:14:13 PDT 2024


felix642 wrote:

> sounds better as the commit description.
I agree, thank you for the suggestion.

>The CI failure is probably because the implicit type for E3 is not unsigned int on Windows.
You are right. I could not find a way to make this test platform independent. I would either have to include <type_traits> or add preprocessor definitions to check for the OS (which might also break in the future). So I have decided to remove this test, since it didn't really add any value to the test suite. 


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


More information about the cfe-commits mailing list