llvm-project
60902321 - [clang] Check constexpr int->enum conversions consistently. (#143034)

Commit
262 days ago
[clang] Check constexpr int->enum conversions consistently. (#143034) In 8de51375f12d91675a18d17f262276e65f43fbe0 and related patches, we added some code to avoid triggering -Wenum-constexpr-conversion in some cases. This isn't necessary anymore because -Wenum-constexpr-conversion doesn't exist anymore. And the checks are subtly wrong: they exclude cases where we actually do need to check the conversion. This patch gets rid of the unnecessary checks.
Author
Parents
Loading