Searched refs:ExceptionDecl (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtObjC.h | 79 VarDecl *ExceptionDecl; 87 : Stmt(ObjCAtCatchStmtClass), ExceptionDecl(catchVarDecl), in ObjCAtCatchStmt() 98 return ExceptionDecl; in getCatchParamDecl() 101 return ExceptionDecl; in getCatchParamDecl() 103 void setCatchParamDecl(VarDecl *D) { ExceptionDecl = D; } in setCatchParamDecl()
|
| H A D | StmtCXX.h | 31 VarDecl *ExceptionDecl; variable 37 : Stmt(CXXCatchStmtClass), CatchLoc(catchLoc), ExceptionDecl(exDecl), in CXXCatchStmt() 41 : Stmt(CXXCatchStmtClass), ExceptionDecl(nullptr), HandlerBlock(nullptr) {} in CXXCatchStmt() 49 VarDecl *getExceptionDecl() const { return ExceptionDecl; } in getExceptionDecl()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 20 if (ExceptionDecl) in getCaughtType() 21 return ExceptionDecl->getType(); in getCaughtType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiate.cpp | 1069 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, 1077 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, 1316 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument 1321 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl() 1324 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 1328 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument 1331 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl() 1333 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
|
| H A D | TreeTransform.h | 1535 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument 1538 ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl() 1539 ExceptionDecl->getLocation(), in RebuildObjCExceptionDecl() 1540 ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl() 2364 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument 2381 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument 2383 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt() 8224 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local 8226 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt() 8231 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt() [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 2630 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local 2642 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock() 2658 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1633 S->ExceptionDecl = readDeclAs<VarDecl>(); in VisitCXXCatchStmt()
|