[PATCH] D37089: [Sema] Error out early for tags defined inside an enumeration.
Alberto Magni via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 20 02:10:54 PDT 2017
alberto_magni added a comment.
Hi all,
this change is causing busybox to fail to compile.
The faulty enum is here:
https://git.busybox.net/busybox/tree/include/libbb.h#n639
The nested union is inside a sizeof statement.
Something like this:
enum {
A = sizeof(union {
int x;
int y;
})
};
I this behavior expected ? Do you suggest to patch busybox ?
Many Thanks
Repository:
rL LLVM
https://reviews.llvm.org/D37089
More information about the cfe-commits
mailing list