Home
last modified time | relevance | path

Searched refs:getExceptionDecl (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp141 auto *VarDecl = CatchStmt->getExceptionDecl(); in diagnoseCatchLocations()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp175 if (!Catch->getExceptionDecl()) { in throwsException()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtCXX.h49 VarDecl *getExceptionDecl() const { return ExceptionDecl; } in getExceptionDecl() function
H A DASTNodeTraverser.h689 Visit(Node->getExceptionDecl()); in VisitCXXCatchStmt()
H A DRecursiveASTVisitor.h2369 TRY_TO(TraverseDecl(S->getExceptionDecl()));
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4483 if (!H->getExceptionDecl()) { in ActOnCXXTryBlock()
4487 } else if (H->getExceptionDecl()->isInvalidDecl()) in ActOnCXXTryBlock()
4514 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4517 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4529 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4532 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
H A DSemaExceptionSpec.cpp1567 if (!FinalHandler->getExceptionDecl()) in canThrow()
H A DTreeTransform.h8224 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp1091 const VarDecl *VD = CS->getExceptionDecl(); in VisitCXXCatchStmt()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp4527 if (CS->getExceptionDecl() == nullptr) { in VisitCXXTryStmt()
4567 if (VarDecl *VD = CS->getExceptionDecl()) { in VisitCXXCatchStmt()
5393 cast<CXXCatchStmt>(stmt)->getExceptionDecl(); in StmtPrinterHelper()
5881 if (const VarDecl *ED = CS->getExceptionDecl()) in print_block()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGException.cpp625 if (C->getExceptionDecl()) { in EnterCXXTryStmt()
H A DMicrosoftCXXABI.cpp901 VarDecl *CatchParam = S->getExceptionDecl(); in emitBeginCatch()
H A DItaniumCXXABI.cpp4636 VarDecl *CatchParam = S->getExceptionDecl(); in emitBeginCatch()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtPrinter.cpp641 if (Decl *ExDecl = Node->getExceptionDecl()) in PrintRawCXXCatchStmt()
H A DASTImporter.cpp6602 auto ToExceptionDecl = importChecked(Err, S->getExceptionDecl()); in VisitCXXCatchStmt()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4513 return Node.getExceptionDecl() == nullptr; in AST_MATCHER()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp1528 Record.AddDeclRef(S->getExceptionDecl()); in VisitCXXCatchStmt()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp2799 AddDecl(S->getExceptionDecl()); in VisitCXXCatchStmt()