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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits