[PATCH] D152083: [clang] Warning for incomplete array initializer lists
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 7 02:32:49 PDT 2023
cor3ntin added a comment.
Can you test in c++ mode?
I'd like to see a test for something like
struct {
int a, b, c, d = 1; // d has an initializer
} bar2 = {
.a = 1,
.b = 1,
.c = 1
};
Otherwise looks good
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152083/new/
https://reviews.llvm.org/D152083
More information about the cfe-commits
mailing list