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

/openbsd-current/gnu/llvm/clang/include/clang/Sema/
H A DScopeInfo.h455 void setHasCXXTry(SourceLocation TryLoc) { argument
457 FirstCXXOrObjCTryLoc = TryLoc;
461 void setHasObjCTry(SourceLocation TryLoc) { argument
463 FirstCXXOrObjCTryLoc = TryLoc;
467 void setHasSEHTry(SourceLocation TryLoc) { argument
469 FirstSEHTryLoc = TryLoc;
H A DSema.h5258 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
5262 SourceLocation TryLoc, Stmt *TryBlock,
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DStmtCXX.h74 SourceLocation TryLoc; member in class:clang::final
94 SourceLocation getTryLoc() const { return TryLoc; }
H A DStmt.h3457 SourceLocation TryLoc; member in class:clang::SEHTryStmt
3463 SourceLocation TryLoc,
3471 SourceLocation TryLoc, Stmt *TryBlock,
3476 SourceLocation getTryLoc() const { return TryLoc; }
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DStmtCXX.cpp41 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) {
H A DStmt.cpp1238 SEHTryStmt::SEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock, argument
1240 : Stmt(SEHTryStmtClass), IsCXXTry(IsCXXTry), TryLoc(TryLoc) {
1246 SourceLocation TryLoc, Stmt *TryBlock,
1248 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler);
1245 Create(const ASTContext &C, bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock, Stmt *Handler) argument
/openbsd-current/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp562 SourceLocation TryLoc = ConsumeToken(); local
589 TryLoc,
2470 SourceLocation TryLoc = ConsumeToken(); local
2472 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, TryLoc,
2488 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true));
2549 SourceLocation TryLoc = ConsumeToken(); local
2550 return ParseCXXTryBlockCommon(TryLoc);
2569 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { argument
2599 TryLoc,
2622 return Actions.ActOnCXXTryBlock(TryLoc, TryBloc
[all...]
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp4439 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, argument
4443 !getSourceManager().isInSystemHeader(TryLoc) && !getLangOpts().CUDA) {
4445 targetDiag(TryLoc, diag::err_exceptions_disabled) << "try";
4450 CUDADiagIfDeviceCode(TryLoc, diag::err_cuda_device_exceptions)
4454 Diag(TryLoc, diag::err_omp_simd_region_cannot_use_stmt) << "try";
4460 Diag(TryLoc, diag::err_mixing_cxx_try_seh_try) << 0;
4530 FSI->setHasCXXTry(TryLoc);
4532 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers);
4535 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, argument
4545 Diag(TryLoc, dia
[all...]
H A DTreeTransform.h2480 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, argument
2482 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers);
2546 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, argument
2548 return getSema().ActOnSEHTryBlock(IsCXXTry, TryLoc, TryBlock, Handler);
/openbsd-current/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1647 S->TryLoc = readSourceLocation();
2284 S->TryLoc = readSourceLocation();
/openbsd-current/gnu/llvm/clang/include/clang/Parse/
H A DParser.h2176 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);

Completed in 816 milliseconds