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.cpp746 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
754 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
948 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
953 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
956 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
960 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
963 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
965 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
DTreeTransform.h1342 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1345 ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1346 ExceptionDecl->getLocation(), in RebuildObjCExceptionDecl()
1347 ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
1858 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
1875 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
1877 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
6862 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
6864 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
6869 ExceptionDecl, T, ExceptionDecl->getInnerLocStart(), in TransformCXXCatchStmt()
[all …]
/external/clang/lib/Parse/
DParseStmt.cpp2151 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2164 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2180 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1192 S->ExceptionDecl = ReadDeclAs<VarDecl>(Record, Idx); in VisitCXXCatchStmt()