[PATCH] D114080: [SYCL] Diagnose uses of zero length arrays
Victor Lomuller via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 17 05:42:40 PST 2021
Naghasan added a comment.
right, TIL `sizeof (ContainsArr)` is 0 according to clang. I can see trouble arising.
@aaron.ballman maybe you know better, is that intended for the extension ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114080/new/
https://reviews.llvm.org/D114080
More information about the cfe-commits
mailing list