summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-08 23:57:03 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-08 23:57:03 +0000
commite7844ea7f86127a21686e2392da55ffa533d83dd (patch)
treecb6265c671b0e911acf64d14a01e94c5d0ddabaa /clang/lib/Sema/SemaStmt.cpp
parent13194461958672e09a4b0608186c7793a6aaf241 (diff)
downloadbcm5719-llvm-e7844ea7f86127a21686e2392da55ffa533d83dd.tar.gz
bcm5719-llvm-e7844ea7f86127a21686e2392da55ffa533d83dd.zip
Disable 32-bit SEH, again
Move the diagnostic back to codegen so that we can compile ATL on the self-host bot. We don't actually end up emitting code for the __try, so the diagnostic won't be hit. llvm-svn: 241761
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r--clang/lib/Sema/SemaStmt.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp
index c4f6fd8df1c..3ffedf28ad5 100644
--- a/clang/lib/Sema/SemaStmt.cpp
+++ b/clang/lib/Sema/SemaStmt.cpp
@@ -3650,10 +3650,6 @@ StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc,
else
Diag(TryLoc, diag::err_seh_try_outside_functions);
- // Reject __try on unsupported targets.
- if (!Context.getTargetInfo().isSEHTrySupported())
- Diag(TryLoc, diag::err_seh_try_unsupported);
-
return SEHTryStmt::Create(Context, IsCXXTry, TryLoc, TryBlock, Handler);
}
OpenPOWER on IntegriCloud