[Sema][SVE] Reject by-copy capture of sizeless types
Since fields can't have sizeless type, it also doesn't make sense to capture sizeless types by value in lambda expressions. This patch makes sure that we diagnose that and that we use "sizeless type" rather "incomplete type" in the associated message. (Both are correct, but "sizeless type" is more specific and hopefully more user-friendly.) Differential Revision: https://reviews.llvm.org/D75738
parent
14d2d8c9
Please register or sign in to comment