Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScopeInfo.h360 void setHasCXXTry(SourceLocation TryLoc) { in setHasCXXTry() argument
362 FirstCXXTryLoc = TryLoc; in setHasCXXTry()
365 void setHasSEHTry(SourceLocation TryLoc) { in setHasSEHTry() argument
367 FirstSEHTryLoc = TryLoc; in setHasSEHTry()
DSema.h3553 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
3557 SourceLocation TryLoc, Stmt *TryBlock,
/external/clang/lib/Parse/
DParseStmt.cpp440 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock() local
466 TryLoc, in ParseSEHTryBlock()
1970 SourceLocation TryLoc = ConsumeToken(); in ParseFunctionTryBlock() local
1972 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc, in ParseFunctionTryBlock()
1988 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2048 SourceLocation TryLoc = ConsumeToken(); in ParseCXXTryBlock() local
2049 return ParseCXXTryBlockCommon(TryLoc); in ParseCXXTryBlock()
2068 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon() argument
2097 TryLoc, in ParseCXXTryBlockCommon()
2120 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.cpp907 SourceLocation TryLoc, in SEHTryStmt() argument
912 TryLoc(TryLoc) in SEHTryStmt()
919 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
921 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.h1924 SourceLocation TryLoc; variable
1930 SourceLocation TryLoc,
1940 SourceLocation TryLoc, Stmt *TryBlock,
1946 SourceLocation getTryLoc() const { return TryLoc; } in getTryLoc()
/external/clang/lib/Sema/
DSemaStmt.cpp3640 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock() argument
3644 !getSourceManager().isInSystemHeader(TryLoc)) in ActOnCXXTryBlock()
3645 Diag(TryLoc, diag::err_exceptions_disabled) << "try"; in ActOnCXXTryBlock()
3648 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try"; in ActOnCXXTryBlock()
3654 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try); in ActOnCXXTryBlock()
3724 FSI->setHasCXXTry(TryLoc); in ActOnCXXTryBlock()
3726 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers); in ActOnCXXTryBlock()
3729 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, in ActOnSEHTryBlock() argument
3739 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try); in ActOnSEHTryBlock()
3744 FSI->setHasSEHTry(TryLoc); in ActOnSEHTryBlock()
[all …]
DTreeTransform.h1885 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt() argument
1887 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers); in RebuildCXXTryStmt()
1945 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt() argument
1947 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler); in RebuildSEHTryStmt()
/external/clang/include/clang/Parse/
DParser.h1761 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1200 S->TryLoc = ReadSourceLocation(Record, Idx); in VisitCXXTryStmt()
1728 S->TryLoc = ReadSourceLocation(Record, Idx); in VisitSEHTryStmt()