Home
last modified time | relevance | path

Searched refs:ExceptionDecl (Results 1 – 14 of 14) 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/llvm-project/clang/include/clang/AST/
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()
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()
/external/clang/lib/AST/
DStmtCXX.cpp21 if (ExceptionDecl) in getCaughtType()
22 return ExceptionDecl->getType(); in getCaughtType()
/external/llvm-project/clang/lib/AST/
DStmtCXX.cpp20 if (ExceptionDecl) in getCaughtType()
21 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/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1052 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl,
1060 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl,
1299 TemplateInstantiator::RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
1304 VarDecl *Var = inherited::RebuildExceptionDecl(ExceptionDecl, Declarator, in RebuildExceptionDecl()
1307 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1311 VarDecl *TemplateInstantiator::RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1314 VarDecl *Var = inherited::RebuildObjCExceptionDecl(ExceptionDecl, TSInfo, T); in RebuildObjCExceptionDecl()
1316 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
DTreeTransform.h1510 VarDecl *RebuildObjCExceptionDecl(VarDecl *ExceptionDecl, in RebuildObjCExceptionDecl() argument
1513 ExceptionDecl->getInnerLocStart(), in RebuildObjCExceptionDecl()
1514 ExceptionDecl->getLocation(), in RebuildObjCExceptionDecl()
1515 ExceptionDecl->getIdentifier()); in RebuildObjCExceptionDecl()
2207 VarDecl *RebuildExceptionDecl(VarDecl *ExceptionDecl, in RebuildExceptionDecl() argument
2224 VarDecl *ExceptionDecl, in RebuildCXXCatchStmt() argument
2226 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
8004 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt() local
8006 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
8011 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/llvm-project/clang/lib/Parse/
DParseStmt.cpp2462 Decl *ExceptionDecl = nullptr; in ParseCXXCatchBlock() local
2475 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2491 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1637 S->ExceptionDecl = readDeclAs<VarDecl>(); in VisitCXXCatchStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1192 S->ExceptionDecl = ReadDeclAs<VarDecl>(Record, Idx); in VisitCXXCatchStmt()