Lines Matching refs:TryLoc
3572 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
3576 !getSourceManager().isInSystemHeader(TryLoc))
3577 Diag(TryLoc, diag::err_exceptions_disabled) << "try";
3580 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try";
3586 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try);
3656 FSI->setHasCXXTry(TryLoc);
3658 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers);
3661 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc,
3671 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try);
3676 FSI->setHasSEHTry(TryLoc);
3687 Diag(TryLoc, diag::err_seh_try_outside_functions);
3691 Diag(TryLoc, diag::err_seh_try_unsupported);
3693 return SEHTryStmt::Create(Context, IsCXXTry, TryLoc, TryBlock, Handler);