[PATCH] D126084: [Sema] Reject implicit conversions between different scoped enum types in list initialization
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 20 12:33:50 PDT 2022
ahatanak added a comment.
The assertion `assert(FromType->isIntegralOrUnscopedEnumerationType())` in `StandardConversionSequence::getNarrowingKind` fails when the invalid initialization is performed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126084/new/
https://reviews.llvm.org/D126084
More information about the cfe-commits
mailing list