Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScopeInfo.h344 void setHasCXXTry(SourceLocation TryLoc) { in setHasCXXTry() argument
346 FirstCXXTryLoc = TryLoc; in setHasCXXTry()
349 void setHasSEHTry(SourceLocation TryLoc) { in setHasSEHTry() argument
351 FirstSEHTryLoc = TryLoc; in setHasSEHTry()
DSema.h3469 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
3473 SourceLocation TryLoc, Stmt *TryBlock,
/external/clang/lib/Parse/
DParseStmt.cpp428 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock() local
454 TryLoc, in ParseSEHTryBlock()
1933 SourceLocation TryLoc = ConsumeToken(); in ParseFunctionTryBlock() local
1935 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc, in ParseFunctionTryBlock()
1956 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2000 SourceLocation TryLoc = ConsumeToken(); in ParseCXXTryBlock() local
2001 return ParseCXXTryBlockCommon(TryLoc); in ParseCXXTryBlock()
2020 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon() argument
2049 TryLoc, in ParseCXXTryBlockCommon()
2072 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/external/clang/lib/AST/
DStmtCXX.cpp46 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
DStmt.cpp896 SourceLocation TryLoc, in SEHTryStmt() argument
901 TryLoc(TryLoc) in SEHTryStmt()
908 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
910 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()
/external/clang/include/clang/AST/
DStmtCXX.h66 SourceLocation TryLoc; variable
91 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
DStmt.h1902 SourceLocation TryLoc; variable
1908 SourceLocation TryLoc,
1918 SourceLocation TryLoc, Stmt *TryBlock,
1924 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
/external/clang/lib/Sema/
DSemaStmt.cpp3572 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock() argument
3576 !getSourceManager().isInSystemHeader(TryLoc)) in ActOnCXXTryBlock()
3577 Diag(TryLoc, diag::err_exceptions_disabled) << "try"; in ActOnCXXTryBlock()
3580 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try"; in ActOnCXXTryBlock()
3586 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try); in ActOnCXXTryBlock()
3656 FSI->setHasCXXTry(TryLoc); in ActOnCXXTryBlock()
3658 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers); in ActOnCXXTryBlock()
3661 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, in ActOnSEHTryBlock() argument
3671 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try); in ActOnSEHTryBlock()
3676 FSI->setHasSEHTry(TryLoc); in ActOnSEHTryBlock()
[all …]
DTreeTransform.h1812 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt() argument
1814 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers); in RebuildCXXTryStmt()
1872 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt() argument
1874 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler); in RebuildSEHTryStmt()
/external/clang/include/clang/Parse/
DParser.h1728 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1193 S->TryLoc = ReadSourceLocation(Record, Idx); in VisitCXXTryStmt()
1706 S->TryLoc = ReadSourceLocation(Record, Idx); in VisitSEHTryStmt()