Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h465 void setHasCXXTry(SourceLocation TryLoc) { in setHasCXXTry() argument
467 FirstCXXOrObjCTryLoc = TryLoc; in setHasCXXTry()
471 void setHasObjCTry(SourceLocation TryLoc) { in setHasObjCTry() argument
473 FirstCXXOrObjCTryLoc = TryLoc; in setHasObjCTry()
477 void setHasSEHTry(SourceLocation TryLoc) { in setHasSEHTry() argument
479 FirstSEHTryLoc = TryLoc; in setHasSEHTry()
H A DSema.h10899 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
10903 SourceLocation TryLoc, Stmt *TryBlock,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp602 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock() local
629 TryLoc, in ParseSEHTryBlock()
2549 SourceLocation TryLoc = ConsumeToken(); in ParseFunctionTryBlock() local
2551 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, TryLoc, in ParseFunctionTryBlock()
2567 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2628 SourceLocation TryLoc = ConsumeToken(); in ParseCXXTryBlock() local
2629 return ParseCXXTryBlockCommon(TryLoc); in ParseCXXTryBlock()
2648 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon() argument
2678 TryLoc, in ParseCXXTryBlockCommon()
2701 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/freebsd/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.h3675 SourceLocation TryLoc;
3681 SourceLocation TryLoc,
3689 SourceLocation TryLoc, Stmt *TryBlock,
3694 SourceLocation getTryLoc() const { return TryLoc; }
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4186 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock() argument
4194 !getSourceManager().isInSystemHeader(TryLoc) && !getLangOpts().CUDA) { in ActOnCXXTryBlock()
4196 targetDiag(TryLoc, diag::err_exceptions_disabled) << "try"; in ActOnCXXTryBlock()
4202 targetDiag(TryLoc, diag::warn_try_not_valid_on_target) << T.str(); in ActOnCXXTryBlock()
4206 CUDA().DiagIfDeviceCode(TryLoc, diag::err_cuda_device_exceptions) in ActOnCXXTryBlock()
4210 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try"; in ActOnCXXTryBlock()
4216 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try) << 0; in ActOnCXXTryBlock()
4293 FSI->setHasCXXTry(TryLoc); in ActOnCXXTryBlock()
4295 return CXXTryStmt::Create(Context, TryLoc, cast<CompoundStmt>(TryBlock), in ActOnCXXTryBlock()
4299 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, in ActOnSEHTryBlock() argument
[all …]
H A DTreeTransform.h2565 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt() argument
2567 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers); in RebuildCXXTryStmt()
2630 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt() argument
2632 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler); in RebuildSEHTryStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp42 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
H A DStmt.cpp1240 SEHTryStmt::SEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock, in SEHTryStmt() argument
1242 : Stmt(SEHTryStmtClass), IsCXXTry(IsCXXTry), TryLoc(TryLoc) { in SEHTryStmt()
1248 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
1250 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1683 S->TryLoc = readSourceLocation(); in VisitCXXTryStmt()
2355 S->TryLoc = readSourceLocation(); in VisitSEHTryStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2259 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);