| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 452 void setHasCXXTry(SourceLocation TryLoc) { in setHasCXXTry() argument 454 FirstCXXOrObjCTryLoc = TryLoc; in setHasCXXTry() 458 void setHasObjCTry(SourceLocation TryLoc) { in setHasObjCTry() argument 460 FirstCXXOrObjCTryLoc = TryLoc; in setHasObjCTry() 464 void setHasSEHTry(SourceLocation TryLoc) { in setHasSEHTry() argument 466 FirstSEHTryLoc = TryLoc; in setHasSEHTry()
|
| H A D | Sema.h | 5135 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, 5139 SourceLocation TryLoc, Stmt *TryBlock,
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 547 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock() local 574 TryLoc, in ParseSEHTryBlock() 2447 SourceLocation TryLoc = ConsumeToken(); in ParseFunctionTryBlock() local 2449 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, TryLoc, in ParseFunctionTryBlock() 2465 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock() 2525 SourceLocation TryLoc = ConsumeToken(); in ParseCXXTryBlock() local 2526 return ParseCXXTryBlockCommon(TryLoc); in ParseCXXTryBlock() 2545 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon() argument 2575 TryLoc, in ParseCXXTryBlockCommon() 2598 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 74 SourceLocation TryLoc; variable 94 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
|
| H A D | Stmt.h | 3445 SourceLocation TryLoc; variable 3451 SourceLocation TryLoc, 3459 SourceLocation TryLoc, Stmt *TryBlock, 3464 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 41 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
|
| H A D | Stmt.cpp | 1237 SEHTryStmt::SEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock, in SEHTryStmt() argument 1239 : Stmt(SEHTryStmtClass), IsCXXTry(IsCXXTry), TryLoc(TryLoc) { in SEHTryStmt() 1245 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument 1247 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 4447 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock() argument 4453 targetDiag(TryLoc, diag::err_exceptions_disabled) << "try"; in ActOnCXXTryBlock() 4458 CUDADiagIfDeviceCode(TryLoc, diag::err_cuda_device_exceptions) in ActOnCXXTryBlock() 4462 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try"; in ActOnCXXTryBlock() 4468 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try) << 0; in ActOnCXXTryBlock() 4538 FSI->setHasCXXTry(TryLoc); in ActOnCXXTryBlock() 4540 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers); in ActOnCXXTryBlock() 4543 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, in ActOnSEHTryBlock() argument 4561 FSI->setHasSEHTry(TryLoc); in ActOnSEHTryBlock() 4572 Diag(TryLoc, diag::err_seh_try_outside_functions); in ActOnSEHTryBlock() [all …]
|
| H A D | TreeTransform.h | 2391 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt() argument 2393 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers); in RebuildCXXTryStmt() 2457 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt() argument 2459 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler); in RebuildSEHTryStmt()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1641 S->TryLoc = readSourceLocation(); in VisitCXXTryStmt() 2244 S->TryLoc = readSourceLocation(); in VisitSEHTryStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 2164 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);
|