Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDStmtCXX.h28 class CXXCatchStmt : public Stmt {
36 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) in CXXCatchStmt() function
40 CXXCatchStmt(EmptyShell Empty) in CXXCatchStmt() function
108 CXXCatchStmt *getHandler(unsigned i) { in getHandler()
109 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
111 const CXXCatchStmt *getHandler(unsigned i) const { in getHandler()
112 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
HDStmtDataCollectors.td107 class CXXCatchStmt {
HDASTNodeTraverser.h798 void VisitCXXCatchStmt(const CXXCatchStmt *Node) { in VisitCXXCatchStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDStmtCXX.cpp19 QualType CXXCatchStmt::getCaughtType() const { in getCaughtType()
HDStmtPrinter.cpp126 void PrintRawCXXCatchStmt(CXXCatchStmt *Catch);
648 void StmtPrinter::PrintRawCXXCatchStmt(CXXCatchStmt *Node) { in PrintRawCXXCatchStmt()
658 void StmtPrinter::VisitCXXCatchStmt(CXXCatchStmt *Node) { in VisitCXXCatchStmt()
HDStmtProfile.cpp355 void StmtProfiler::VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenPGO.cpp108 CXXCatchStmt, enumerator
485 DEFINE_NESTABLE_TRAVERSAL(CXXCatchStmt) in DEFINE_NESTABLE_TRAVERSAL()
515 return PGOHash::CXXCatchStmt; in DEFINE_NESTABLE_TRAVERSAL()
911 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
HDCGCoroutine.cpp349 CXXCatchStmt(Loc, /*exDecl=*/nullptr, Coro.ExceptionHandler); in emitSuspendExpression()
904 CXXCatchStmt Catch(Loc, /*exDecl=*/nullptr, in EmitCoroutineBody()
HDCGCXXABI.h266 virtual void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) = 0;
HDCGException.cpp640 const CXXCatchStmt *C = S.getHandler(I); in EnterCXXTryStmt()
1277 const CXXCatchStmt *C = S.getHandler(I-1); in ExitCXXTryStmt()
HDItaniumCXXABI.cpp168 void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) override;
526 void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) override;
4990 const CXXCatchStmt *S) { in emitBeginCatch()
5112 const CXXCatchStmt *C) { in emitBeginCatch()
HDMicrosoftCXXABI.cpp128 void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) override;
921 const CXXCatchStmt *S) { in emitBeginCatch()
HDCoverageMappingGen.cpp2090 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaStmt.cpp4070 CXXCatchStmt(CatchLoc, cast_or_null<VarDecl>(ExDecl), HandlerBlock); in ActOnCXXCatchBlock()
4143 const llvm::DenseMap<QualType, CXXCatchStmt *> &TypesToCheck;
4145 CXXCatchStmt *FoundHandler;
4150 CatchTypePublicBases(const llvm::DenseMap<QualType, CXXCatchStmt *> &T, in CatchTypePublicBases()
4154 CXXCatchStmt *getFoundHandler() const { return FoundHandler; } in getFoundHandler()
4224 llvm::DenseMap<QualType, CXXCatchStmt *> HandledBaseTypes; in ActOnCXXTryBlock()
4225 llvm::DenseMap<CatchHandlerType, CXXCatchStmt *> HandledTypes; in ActOnCXXTryBlock()
4227 CXXCatchStmt *H = cast<CXXCatchStmt>(Handlers[i]); in ActOnCXXTryBlock()
4261 const CXXCatchStmt *Problem = CTPB.getFoundHandler(); in ActOnCXXTryBlock()
4283 const CXXCatchStmt *Problem = R.first->second; in ActOnCXXTryBlock()
HDJumpDiagnostics.cpp417 CXXCatchStmt *CS = TS->getHandler(I); in BuildScopeInformation()
HDSemaExceptionSpec.cpp1563 const CXXCatchStmt *FinalHandler = TS->getHandler(TS->getNumHandlers() - 1); in canThrow()
HDAnalysisBasedWarnings.cpp330 dyn_cast_or_null<CXXCatchStmt>(Succ->getLabel())) { in throwEscapes()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDExprEngine.h51 class CXXCatchStmt; variable
550 void VisitCXXCatchStmt(const CXXCatchStmt *CS, ExplodedNode *Pred,
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDDeadStoresChecker.cpp50 bool TraverseCXXCatchStmt(CXXCatchStmt *S) { in TraverseCXXCatchStmt()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Basic/
HDStmtNodes.td49 def CXXCatchStmt : StmtNode<Stmt>;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Analysis/
HDCFG.cpp573 CFGBlock *VisitCXXCatchStmt(CXXCatchStmt *S);
2250 return VisitCXXCatchStmt(cast<CXXCatchStmt>(S)); in Visit()
4591 CXXCatchStmt *CS = Terminator->getHandler(I); in VisitCXXTryStmt()
4622 CFGBlock *CFGBuilder::VisitCXXCatchStmt(CXXCatchStmt *CS) { in VisitCXXCatchStmt()
5469 cast<CXXCatchStmt>(stmt)->getExceptionDecl(); in StmtPrinterHelper()
5961 else if (CXXCatchStmt *CS = dyn_cast<CXXCatchStmt>(Label)) { in print_block()
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDExprEngineCXX.cpp1149 void ExprEngine::VisitCXXCatchStmt(const CXXCatchStmt *CS, ExplodedNode *Pred, in VisitCXXCatchStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchersInternal.cpp921 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXCatchStmt> cxxCatchStmt;
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h2377 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXCatchStmt>
4749 AST_MATCHER(CXXCatchStmt, isCatchAll) { in AST_MATCHER() argument
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReaderStmt.cpp1672 void ASTStmtReader::VisitCXXCatchStmt(CXXCatchStmt *S) { in VisitCXXCatchStmt()
3408 S = new (Context) CXXCatchStmt(Empty); in ReadStmtFromStream()

12