[PATCH] D131704: [Clang] Tighten restrictions on enum out of range diagnostic
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 12 12:38:58 PDT 2022
thakis added a comment.
> This is constant initialization, so this is indeed expected.
Do we have a test for this in clang? It seems that the diag appeared for that case after the change that turned this diag into a disable-able warning. Given it's intentional, we should make sure we test that this diag is emitted, to make sure it stays around once the diag goes back to always-an-error.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131704/new/
https://reviews.llvm.org/D131704
More information about the cfe-commits
mailing list