Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
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()
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()
/external/clang/lib/AST/
DStmtCXX.cpp21 if (ExceptionDecl) in getCaughtType()
22 return ExceptionDecl->getType(); in getCaughtType()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp744 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
752 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
946 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
951 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
954 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
958 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
961 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
963 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
DTreeTransform.h1330 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1333 ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1334 ExceptionDecl->getLocation(), in RebuildObjCExceptionDecl()
1335 ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
1785 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
1802 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
1804 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
6758 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
6760 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
6765 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt()
[all …]
/external/clang/lib/Parse/
DParseStmt.cpp2103 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2116 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2132 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1185 S->ExceptionDecl = ReadDeclAs<VarDecl>(Record, Idx); in VisitCXXCatchStmt()