aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-02-21 17:12:44 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-03-13 19:27:31 +0000
commit8c5c60a493ca31c7e808ca48a99ed4bd5900b43d (patch)
treedbec05b0746760cd25eac6b4b10f4e5409165a05 /llvm/lib/CodeGen
parent14d2d8c9761bd822e42837bf817bf05074845aba (diff)
downloadllvm-8c5c60a493ca31c7e808ca48a99ed4bd5900b43d.zip
llvm-8c5c60a493ca31c7e808ca48a99ed4bd5900b43d.tar.gz
llvm-8c5c60a493ca31c7e808ca48a99ed4bd5900b43d.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions