diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2018-06-07 22:54:54 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2018-06-07 22:54:54 +0000 |
| commit | d8d154738742244eef1f9f3c4552ef6ff49a297a (patch) | |
| tree | cfb78b3a50b628e3aab83b33adfb4c3abf34956b /clang/lib/Sema/SemaChecking.cpp | |
| parent | 77b5be7ec67254fc27e1626989df00f7f7ec44a5 (diff) | |
| download | bcm5719-llvm-d8d154738742244eef1f9f3c4552ef6ff49a297a.tar.gz bcm5719-llvm-d8d154738742244eef1f9f3c4552ef6ff49a297a.zip | |
[Frontend] Disallow non-MSVC exception models for windows-msvc targets
The windows-msvc target is used for MSVC ABI compatibility, including
the exceptions model. It doesn't make sense to pair a windows-msvc
target with a non-MSVC exception model. This would previously cause an
assertion failure; explicitly error out for it in the frontend instead.
This also allows us to reduce the matrix of target/exception models a
bit (see the modified tests), and we can possibly simplify some of the
personality code in a follow-up.
Differential Revision: https://reviews.llvm.org/D47853
llvm-svn: 334243
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions

