Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtObjC.h76 VarDecl *ExceptionDecl;
84 : Stmt(ObjCAtCatchStmtClass), ExceptionDecl(catchVarDecl), in ObjCAtCatchStmt()
95 return ExceptionDecl; in getCatchParamDecl()
98 return ExceptionDecl; in getCatchParamDecl()
100 void setCatchParamDecl(VarDecl *D) { ExceptionDecl = D; } in setCatchParamDecl()
H A DStmtCXX.h32 VarDecl *ExceptionDecl; variable
38 : Stmt(CXXCatchStmtClass), CatchLoc(catchLoc), ExceptionDecl(exDecl), in CXXCatchStmt()
42 : Stmt(CXXCatchStmtClass), ExceptionDecl(nullptr), HandlerBlock(nullptr) {} in CXXCatchStmt()
50 VarDecl *getExceptionDecl() const { return ExceptionDecl; } in getExceptionDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmtCXX.cpp21 if (ExceptionDecl) in getCaughtType()
22 return ExceptionDecl->getType(); in getCaughtType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp852 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
860 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
1055 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
1060 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
1063 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1067 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1070 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
1072 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
H A DTreeTransform.h1438 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1441 ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1442 ExceptionDecl->getLocation(), in RebuildObjCExceptionDecl()
1443 ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
1987 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
2004 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
2006 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
7392 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
7394 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
7399 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp2230 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2243 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2259 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp1308 S->ExceptionDecl = ReadDeclAs<VarDecl>(); in VisitCXXCatchStmt()