Home
last modified time | relevance | path

Searched refs:CXXCatchStmt (Results 1 – 25 of 32) sorted by relevance

12

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DStmtCXX.h28 class CXXCatchStmt : public Stmt {
36 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) in CXXCatchStmt() function
40 CXXCatchStmt(EmptyShell Empty) in CXXCatchStmt() function
107 CXXCatchStmt *getHandler(unsigned i) { in getHandler()
108 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
110 const CXXCatchStmt *getHandler(unsigned i) const { in getHandler()
111 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
H A DStmtDataCollectors.td107 class CXXCatchStmt {
H A DASTNodeTraverser.h701 void VisitCXXCatchStmt(const CXXCatchStmt *Node) { in VisitCXXCatchStmt()
/openbsd/gnu/llvm/clang/lib/AST/
H A DStmtCXX.cpp19 QualType CXXCatchStmt::getCaughtType() const { in getCaughtType()
H A DStmtPrinter.cpp126 void PrintRawCXXCatchStmt(CXXCatchStmt *Catch);
640 void StmtPrinter::PrintRawCXXCatchStmt(CXXCatchStmt *Node) { in PrintRawCXXCatchStmt()
650 void StmtPrinter::VisitCXXCatchStmt(CXXCatchStmt *Node) { in VisitCXXCatchStmt()
H A DStmtProfile.cpp339 void StmtProfiler::VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenPGO.cpp104 CXXCatchStmt, enumerator
269 DEFINE_NESTABLE_TRAVERSAL(CXXCatchStmt) in DEFINE_NESTABLE_TRAVERSAL()
299 return PGOHash::CXXCatchStmt; in DEFINE_NESTABLE_TRAVERSAL()
695 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
H A DCGCoroutine.cpp240 CXXCatchStmt(Loc, /*exDecl=*/nullptr, Coro.ExceptionHandler); in emitSuspendExpression()
615 CXXCatchStmt Catch(Loc, /*exDecl=*/nullptr, in EmitCoroutineBody()
H A DCGCXXABI.h270 virtual void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) = 0;
H A DCGException.cpp622 const CXXCatchStmt *C = S.getHandler(I); in EnterCXXTryStmt()
1252 const CXXCatchStmt *C = S.getHandler(I-1); in ExitCXXTryStmt()
H A DItaniumCXXABI.cpp165 void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) override;
475 void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) override;
4640 const CXXCatchStmt *S) { in emitBeginCatch()
4749 const CXXCatchStmt *C) { in emitBeginCatch()
H A DCoverageMappingGen.cpp1448 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
H A DMicrosoftCXXABI.cpp127 void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) override;
911 const CXXCatchStmt *S) { in emitBeginCatch()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h51 class CXXCatchStmt; variable
558 void VisitCXXCatchStmt(const CXXCatchStmt *CS, ExplodedNode *Pred,
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp4326 CXXCatchStmt(CatchLoc, cast_or_null<VarDecl>(ExDecl), HandlerBlock); in ActOnCXXCatchBlock()
4405 const llvm::DenseMap<CatchHandlerType, CXXCatchStmt *> &TypesToCheck;
4408 CXXCatchStmt *FoundHandler;
4414 const llvm::DenseMap<CatchHandlerType, CXXCatchStmt *> &T, bool C) in CatchTypePublicBases()
4418 CXXCatchStmt *getFoundHandler() const { return FoundHandler; } in getFoundHandler()
4468 llvm::DenseMap<CatchHandlerType, CXXCatchStmt *> HandledTypes; in ActOnCXXTryBlock()
4470 CXXCatchStmt *H = cast<CXXCatchStmt>(Handlers[i]); in ActOnCXXTryBlock()
4504 const CXXCatchStmt *Problem = CTPB.getFoundHandler(); in ActOnCXXTryBlock()
4520 const CXXCatchStmt *Problem = R.first->second; in ActOnCXXTryBlock()
H A DJumpDiagnostics.cpp426 CXXCatchStmt *CS = TS->getHandler(I); in BuildScopeInformation()
H A DSemaExceptionSpec.cpp1569 const CXXCatchStmt *FinalHandler = TS->getHandler(TS->getNumHandlers() - 1); in canThrow()
H A DAnalysisBasedWarnings.cpp307 dyn_cast_or_null<CXXCatchStmt>(Succ->getLabel())) { in throwEscapes()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp50 bool TraverseCXXCatchStmt(CXXCatchStmt *S) { in TraverseCXXCatchStmt()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td49 def CXXCatchStmt : StmtNode<Stmt>;
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp560 CFGBlock *VisitCXXCatchStmt(CXXCatchStmt *S);
2245 return VisitCXXCatchStmt(cast<CXXCatchStmt>(S)); in Visit()
4585 CXXCatchStmt *CS = Terminator->getHandler(I); in VisitCXXTryStmt()
4616 CFGBlock *CFGBuilder::VisitCXXCatchStmt(CXXCatchStmt *CS) { in VisitCXXCatchStmt()
5463 cast<CXXCatchStmt>(stmt)->getExceptionDecl(); in StmtPrinterHelper()
5949 else if (CXXCatchStmt *CS = dyn_cast<CXXCatchStmt>(Label)) { in print_block()
/openbsd/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp913 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXCatchStmt> cxxCatchStmt;
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp1144 void ExprEngine::VisitCXXCatchStmt(const CXXCatchStmt *CS, ExplodedNode *Pred, in VisitCXXCatchStmt()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2314 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXCatchStmt>
4513 AST_MATCHER(CXXCatchStmt, isCatchAll) { in AST_MATCHER() argument
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1636 void ASTStmtReader::VisitCXXCatchStmt(CXXCatchStmt *S) { in VisitCXXCatchStmt()
3264 S = new (Context) CXXCatchStmt(Empty); in ReadStmtFromStream()

12