[PATCH] D75737: [Sema][SVE] Don't allow fields to have sizeless type
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 19:38:28 PDT 2020
efriedma added inline comments.
================
Comment at: clang/lib/Sema/SemaLambda.cpp:1633
+ if (RequireCompleteSizedType(Loc, FieldType,
+ diag::err_field_incomplete_or_sizeless)) {
RD->setInvalidDecl();
----------------
Can BuildCaptureField actually print an error? If it can, do you have a testcase?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75737/new/
https://reviews.llvm.org/D75737
More information about the cfe-commits
mailing list