Home
last modified time | relevance | path

Searched refs:ExDecl (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp2640 Declarator ExDecl(DS, Attributes, DeclaratorContext::CXXCatch); in ParseCXXCatchBlock() local
2641 ParseDeclarator(ExDecl); in ParseCXXCatchBlock()
2642 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp16440 ExDecl->setExceptionVariable(true); in BuildExceptionDeclaration()
16464 InitializedEntity::InitializeVariable(ExDecl); in BuildExceptionDeclaration()
16480 ExDecl->setInit(init); in BuildExceptionDeclaration()
16490 ExDecl->setInvalidDecl(); in BuildExceptionDeclaration()
16492 return ExDecl; in BuildExceptionDeclaration()
16533 VarDecl *ExDecl = BuildExceptionDeclaration( in ActOnExceptionDeclarator() local
16536 ExDecl->setInvalidDecl(); in ActOnExceptionDeclarator()
16540 PushOnScopeChains(ExDecl, S); in ActOnExceptionDeclarator()
16542 CurContext->addDecl(ExDecl); in ActOnExceptionDeclarator()
16544 ProcessDeclAttributes(S, ExDecl, D); in ActOnExceptionDeclarator()
[all …]
H A DSemaStmt.cpp4330 Sema::ActOnCXXCatchBlock(SourceLocation CatchLoc, Decl *ExDecl, in ActOnCXXCatchBlock() argument
4334 CXXCatchStmt(CatchLoc, cast_or_null<VarDecl>(ExDecl), HandlerBlock); in ActOnCXXCatchBlock()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtPrinter.cpp641 if (Decl *ExDecl = Node->getExceptionDecl()) in PrintRawCXXCatchStmt() local
642 PrintRawDecl(ExDecl); in PrintRawCXXCatchStmt()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h5134 Decl *ExDecl, Stmt *HandlerBlock);