Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/AST/
H A DStmtCXX.cpp20 if (ExceptionDecl) in getCaughtType()
21 return ExceptionDecl->getType(); in getCaughtType()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1248 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
1256 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
1553 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
1558 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
1561 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1565 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1568 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
1570 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
H A DTreeTransform.h1576 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1579 ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1580 ExceptionDecl->getLocation(), in RebuildObjCExceptionDecl()
1581 ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
2453 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
2470 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
2472 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
8334 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
8336 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
8341 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt()
[all …]
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp2654 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2666 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2682 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1639 S->ExceptionDecl = readDeclAs<VarDecl>(); in VisitCXXCatchStmt()