Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DScopeInfo.h420 void setHasCXXTry(SourceLocation TryLoc) { in setHasCXXTry() argument
422 FirstCXXTryLoc = TryLoc; in setHasCXXTry()
425 void setHasSEHTry(SourceLocation TryLoc) { in setHasSEHTry() argument
427 FirstSEHTryLoc = TryLoc; in setHasSEHTry()
H A DSema.h3929 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
3933 SourceLocation TryLoc, Stmt *TryBlock,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp456 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock() local
483 TryLoc, in ParseSEHTryBlock()
2048 SourceLocation TryLoc = ConsumeToken(); in ParseFunctionTryBlock() local
2050 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, TryLoc, in ParseFunctionTryBlock()
2066 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2126 SourceLocation TryLoc = ConsumeToken(); in ParseCXXTryBlock() local
2127 return ParseCXXTryBlockCommon(TryLoc); in ParseCXXTryBlock()
2146 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon() argument
2176 TryLoc, in ParseCXXTryBlockCommon()
2199 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp1100 SEHTryStmt::SEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock, in SEHTryStmt() argument
1102 : Stmt(SEHTryStmtClass), IsCXXTry(IsCXXTry), TryLoc(TryLoc) { in SEHTryStmt()
1108 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
1110 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()
H A DStmtCXX.cpp42 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtCXX.h71 SourceLocation TryLoc; variable
91 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
H A DStmt.h3026 SourceLocation TryLoc; variable
3032 SourceLocation TryLoc,
3040 SourceLocation TryLoc, Stmt *TryBlock,
3045 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp4014 !getSourceManager().isInSystemHeader(TryLoc) && in ActOnCXXTryBlock()
4019 Diag(TryLoc, diag::err_exceptions_disabled) << "try"; in ActOnCXXTryBlock()
4023 CUDADiagIfDeviceCode(TryLoc, diag::err_cuda_device_exceptions) in ActOnCXXTryBlock()
4027 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try"; in ActOnCXXTryBlock()
4033 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try); in ActOnCXXTryBlock()
4103 FSI->setHasCXXTry(TryLoc); in ActOnCXXTryBlock()
4105 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers); in ActOnCXXTryBlock()
4118 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try); in ActOnSEHTryBlock()
4123 FSI->setHasSEHTry(TryLoc); in ActOnSEHTryBlock()
4134 Diag(TryLoc, diag::err_seh_try_outside_functions); in ActOnSEHTryBlock()
[all …]
H A DTreeTransform.h2014 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt() argument
2016 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers); in RebuildCXXTryStmt()
2080 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt() argument
2082 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler); in RebuildSEHTryStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp1316 S->TryLoc = ReadSourceLocation(); in VisitCXXTryStmt()
1881 S->TryLoc = ReadSourceLocation(); in VisitSEHTryStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h1962 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);