Home
last modified time | relevance | path

Searched refs:TryLoc (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h462 void setHasCXXTry(SourceLocation TryLoc) { in setHasCXXTry() argument
464 FirstCXXOrObjCTryLoc = TryLoc; in setHasCXXTry()
468 void setHasObjCTry(SourceLocation TryLoc) { in setHasObjCTry() argument
470 FirstCXXOrObjCTryLoc = TryLoc; in setHasObjCTry()
474 void setHasSEHTry(SourceLocation TryLoc) { in setHasSEHTry() argument
476 FirstSEHTryLoc = TryLoc; in setHasSEHTry()
H A DSema.h5384 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
5388 SourceLocation TryLoc, Stmt *TryBlock,
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp590 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock() local
617 TryLoc, in ParseSEHTryBlock()
2534 SourceLocation TryLoc = ConsumeToken(); in ParseFunctionTryBlock() local
2536 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, TryLoc, in ParseFunctionTryBlock()
2552 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2613 SourceLocation TryLoc = ConsumeToken(); in ParseCXXTryBlock() local
2614 return ParseCXXTryBlockCommon(TryLoc); in ParseCXXTryBlock()
2633 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon() argument
2663 TryLoc, in ParseCXXTryBlockCommon()
2686 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h74 SourceLocation TryLoc; variable
95 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
H A DStmt.h3668 SourceLocation TryLoc; variable
3674 SourceLocation TryLoc,
3682 SourceLocation TryLoc, Stmt *TryBlock,
3687 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp42 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
H A DStmt.cpp1239 SEHTryStmt::SEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock, in SEHTryStmt() argument
1241 : Stmt(SEHTryStmtClass), IsCXXTry(IsCXXTry), TryLoc(TryLoc) { in SEHTryStmt()
1247 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
1249 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4484 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock() argument
4494 targetDiag(TryLoc, diag::err_exceptions_disabled) << "try"; in ActOnCXXTryBlock()
4500 targetDiag(TryLoc, diag::warn_try_not_valid_on_target) << T.str(); in ActOnCXXTryBlock()
4504 CUDADiagIfDeviceCode(TryLoc, diag::err_cuda_device_exceptions) in ActOnCXXTryBlock()
4508 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try"; in ActOnCXXTryBlock()
4514 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try) << 0; in ActOnCXXTryBlock()
4591 FSI->setHasCXXTry(TryLoc); in ActOnCXXTryBlock()
4597 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, in ActOnSEHTryBlock() argument
4615 FSI->setHasSEHTry(TryLoc); in ActOnSEHTryBlock()
4626 Diag(TryLoc, diag::err_seh_try_outside_functions); in ActOnSEHTryBlock()
[all …]
H A DTreeTransform.h2538 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt() argument
2540 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers); in RebuildCXXTryStmt()
2604 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt() argument
2606 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler); in RebuildSEHTryStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1676 S->TryLoc = readSourceLocation(); in VisitCXXTryStmt()
2335 S->TryLoc = readSourceLocation(); in VisitSEHTryStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2201 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);