Home
last modified time | relevance | path

Searched refs:ExceptionDecl (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h79 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 DStmtCXX.h31 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()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp20 if (ExceptionDecl) in getCaughtType()
21 return ExceptionDecl->getType(); in getCaughtType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1587 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
1595 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
2065 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
2070 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
2073 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
2077 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
2080 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
2082 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
H A DTreeTransform.h1616 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1619 TInfo, T, ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1620 ExceptionDecl->getLocation(), ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
2571 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
2588 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
2590 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
9137 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
9139 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
9144 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt()
9145 ExceptionDecl->getLocation(), ExceptionDecl->getIdentifier()); in TransformCXXCatchStmt()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp2559 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2571 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2587 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1694 S->ExceptionDecl = readDeclAs<VarDecl>(); in VisitCXXCatchStmt()