Home
last modified time | relevance | path

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

/src/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()
/src/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp20 if (ExceptionDecl) in getCaughtType()
21 return ExceptionDecl->getType(); in getCaughtType()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1501 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
1509 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
1907 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
1912 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
1915 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1919 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1922 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
1924 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
H A DTreeTransform.h1622 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1625 TInfo, T, ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1626 ExceptionDecl->getLocation(), ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
2538 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
2555 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
2557 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
8787 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
8789 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
8794 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt()
8795 ExceptionDecl->getLocation(), ExceptionDecl->getIdentifier()); in TransformCXXCatchStmt()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp2733 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2745 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2761 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1675 S->ExceptionDecl = readDeclAs<VarDecl>(); in VisitCXXCatchStmt()