Home
last modified time | relevance | path

Searched refs:CatchStmt (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp135 const CXXCatchStmt *CatchStmt, ASTContext &Context) { in diagnoseCatchLocations() argument
136 if (!CatchStmt) in diagnoseCatchLocations()
138 auto CaughtType = CatchStmt->getCaughtType(); in diagnoseCatchLocations()
141 auto *VarDecl = CatchStmt->getExceptionDecl(); in diagnoseCatchLocations()
H A DThrowByValueCatchByReferenceCheck.h41 void diagnoseCatchLocations(const CXXCatchStmt *CatchStmt,
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp166 for (const ObjCAtCatchStmt *CatchStmt : S.catch_stmts()) { in EmitTryCatchStmt() local
167 const VarDecl *CatchDecl = CatchStmt->getCatchParamDecl(); in EmitTryCatchStmt()
172 Handler.Body = CatchStmt->getCatchBody(); in EmitTryCatchStmt()
H A DCGObjCMac.cpp4734 for (const ObjCAtCatchStmt *CatchStmt : AtTryStmt->catch_stmts()) { in EmitTryOrSynchronizedStmt() local
4735 const VarDecl *CatchParam = CatchStmt->getCatchParamDecl(); in EmitTryOrSynchronizedStmt()
4764 CGF.EmitStmt(CatchStmt->getCatchBody()); in EmitTryOrSynchronizedStmt()
4810 CGF.EmitStmt(CatchStmt->getCatchBody()); in EmitTryOrSynchronizedStmt()