aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-03-03 11:20:57 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-03-17 12:45:00 +0000
commit4ece6f051bd088fb8d4862bedf590f4f9d86cd17 (patch)
tree6396fbd2d54a99fad6759bdccbef81ab57137a73 /llvm/lib/CodeGen/CommandFlags.cpp
parentc6b8484e855bffb0a7da487cd715cef774a46fb1 (diff)
downloadllvm-4ece6f051bd088fb8d4862bedf590f4f9d86cd17.zip
llvm-4ece6f051bd088fb8d4862bedf590f4f9d86cd17.tar.gz
llvm-4ece6f051bd088fb8d4862bedf590f4f9d86cd17.tar.bz2
[Sema][SVE] Reject "delete" with sizeless types
Sizeless types can't be used with "new", so it doesn't make sense to use them with "delete" either. The SVE ACLE therefore doesn't allow that. This is slightly stronger than for normal incomplete types, since: struct S; void f(S *s) { delete s; } is (by necessity) just a default-on warning rather than an error. Differential Revision: https://reviews.llvm.org/D76219
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions