Searched refs:getExceptionDecl (Results 1 – 18 of 18) sorted by relevance
141 auto *VarDecl = CatchStmt->getExceptionDecl(); in diagnoseCatchLocations()
175 if (!Catch->getExceptionDecl()) { in throwsException()
49 VarDecl *getExceptionDecl() const { return ExceptionDecl; } in getExceptionDecl() function
689 Visit(Node->getExceptionDecl()); in VisitCXXCatchStmt()
2369 TRY_TO(TraverseDecl(S->getExceptionDecl()));
4483 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()
1567 if (!FinalHandler->getExceptionDecl()) in canThrow()
8224 if (VarDecl *ExceptionDecl = S->getExceptionDecl()) { in TransformCXXCatchStmt()
1091 const VarDecl *VD = CS->getExceptionDecl(); in VisitCXXCatchStmt()
4527 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()
625 if (C->getExceptionDecl()) { in EnterCXXTryStmt()
901 VarDecl *CatchParam = S->getExceptionDecl(); in emitBeginCatch()
4636 VarDecl *CatchParam = S->getExceptionDecl(); in emitBeginCatch()
641 if (Decl *ExDecl = Node->getExceptionDecl()) in PrintRawCXXCatchStmt()
6602 auto ToExceptionDecl = importChecked(Err, S->getExceptionDecl()); in VisitCXXCatchStmt()
4513 return Node.getExceptionDecl() == nullptr; in AST_MATCHER()
1528 Record.AddDeclRef(S->getExceptionDecl()); in VisitCXXCatchStmt()
2799 AddDecl(S->getExceptionDecl()); in VisitCXXCatchStmt()