Home
last modified time | relevance | path

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

/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp139 auto *VarDecl = CatchStmt->getExceptionDecl(); in diagnoseCatchLocations()
/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp518 if (!Catch->getExceptionDecl()) { in throwsException()
537 CaughtType, Catch->getExceptionDecl()->getASTContext())) { in throwsException()
/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h49 VarDecl *getExceptionDecl() const { return ExceptionDecl; } in getExceptionDecl() function
H A DASTNodeTraverser.h817 Visit(Node->getExceptionDecl()); in VisitInitListExpr()
H A DRecursiveASTVisitor.h2424 TRY_TO(TraverseDecl(S->getExceptionDecl()));
/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4338 if (!H->getExceptionDecl()) { in ActOnSEHExceptBlock()
4342 } else if (H->getExceptionDecl()->isInvalidDecl()) in ActOnSEHExceptBlock()
4370 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnSEHLeaveStmt()
4373 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnSEHLeaveStmt()
4390 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnMSDependentExistsStmt()
4393 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnMSDependentExistsStmt()
H A DSemaExceptionSpec.cpp1586 if (!FinalHandler->getExceptionDecl()) in canThrow()
H A DTreeTransform.h9034 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformMSPropertySubscriptExpr()
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp1098 const VarDecl *VD = CS->getExceptionDecl(); in VisitCXXNewExpr()
/llvm-project/clang/lib/Analysis/
H A DCFG.cpp4602 if (CS->getExceptionDecl() == nullptr) { in VisitCXXTryStmt()
4642 if (VarDecl *VD = CS->getExceptionDecl()) { in VisitCXXCatchStmt()
5476 cast<CXXCatchStmt>(stmt)->getExceptionDecl(); in StmtPrinterHelper()
5970 if (const VarDecl *ED = CS->getExceptionDecl()) in print_block()
/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp642 if (C->getExceptionDecl()) { in EnterCXXTryStmt()
H A DItaniumCXXABI.cpp5040 VarDecl *CatchParam = S->getExceptionDecl();
H A DMicrosoftCXXABI.cpp918 VarDecl *CatchParam = S->getExceptionDecl(); in emitRethrow()
/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp656 if (Decl *ExDecl = Node->getExceptionDecl()) in PrintRawCXXCatchStmt()
H A DASTImporter.cpp7156 auto ToExceptionDecl = importChecked(Err, S->getExceptionDecl()); in VisitObjCAtCatchStmt()
/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4793 return Node.getExceptionDecl() == nullptr; in AST_MATCHER_P()
/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1655 Record.AddDeclRef(S->getExceptionDecl()); in VisitCXXForRangeStmt()
/llvm-project/clang/tools/libclang/
H A DCIndex.cpp3092 AddDecl(S->getExceptionDecl()); in VisitObjCEncodeExpr()