diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2020-03-03 11:06:58 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2020-03-17 12:00:16 +0000 |
commit | 72ffb16b4cde972dd3b0b5db98d1702fdcccbc6f (patch) | |
tree | b6e5658ae2f1f9483059887483a2ad49b4ce132e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bfb2ce025639a5c8012782eb38ced2c5a522d15b (diff) | |
download | llvm-72ffb16b4cde972dd3b0b5db98d1702fdcccbc6f.zip llvm-72ffb16b4cde972dd3b0b5db98d1702fdcccbc6f.tar.gz llvm-72ffb16b4cde972dd3b0b5db98d1702fdcccbc6f.tar.bz2 |
[Sema][SVE] Don't allow sizeless types to be caught
In the current SVE ACLE spec, the usual rules for throwing and
catching incomplete types also apply to sizeless types. However,
throwing pointers to sizeless types should not pose any real difficulty,
so as an extension, the clang implementation allows that.
This patch enforces these rules for catch statements.
Differential Revision: https://reviews.llvm.org/D76090
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions